WordPress.org

Plugin Directory

http-authentication

Opened 2 years ago

Closed 23 months 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@…

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 2 years ago.

Download all attachments as: .zip

Change History (3)

bananastalktome2 years ago

comment:1 bananastalktome2 years ago

  • Cc bananastalktome@… added

comment:2 dwc23 months 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.