Plugin Directory


Opened 3 years ago

Closed 3 years ago

#1513 closed defect (fixed)

get_userdatabylogin() is deprecated in WP 3.3

Reported by: bananastalktome Owned by: dwc
Priority: normal Severity: normal
Plugin: http-authentication Keywords:
Cc: bananastalktome@…


Getting deprecation notices in logs about get_userdatabylogin(), which is used in the HTTP Authentication check_remote_user function. The logs suggest using get_user_by('login') in place of get_userdatabylogin().

Attachments (1)

patch.diff (471 bytes) - added by bananastalktome 3 years ago.

Download all attachments as: .zip

Change History (3)

@bananastalktome3 years ago

comment:1 @bananastalktome3 years ago

  • Cc bananastalktome@… added

comment:2 @dwc3 years ago

  • Resolution set to fixed
  • Status changed from new to closed

In [552756]:

Fix deprecation notice in WordPress 3.3 on get_userdatabylogin; thanks to bananastalktome for the patch (closes #1513)

Note: See TracTickets for help on using tickets.