#1513 closed defect (fixed)

get_userdatabylogin() is deprecated in WP 3.3

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

Description

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 14 months ago.

Download all attachments as: .zip

Change History (3)

Changed 14 months ago by bananastalktome

comment:1 Changed 14 months ago by bananastalktome

  • Cc bananastalktome@… added

comment:2 Changed 13 months ago by dwc

  • 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.