Plugin Directory

Changeset 552756


Ignore:
Timestamp:
06/04/2012 06:32:00 AM (14 years ago)
Author:
dwc
Message:

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

Location:
http-authentication/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • http-authentication/trunk/http-authentication.php

    r552737 r552756  
    187187
    188188        // Create new users automatically, if configured
    189         $user = get_userdatabylogin($username);
     189        $user = get_user_by('login', $username);
    190190        if (! $user)  {
    191191            if ((bool) $this->options['auto_create_user']) {
  • http-authentication/trunk/readme.txt

    r552737 r552756  
    142142* Add option to support additional $_SERVER variables in authentication (#1477)
    143143* Remove use of call-time pass by reference to avoid warnings on PHP 5.3 and newer
     144* Fix deprecation notice in WordPress 3.3 on `get_userdatabylogin` (#1513)
    144145
    145146= 4.4 =
Note: See TracChangeset for help on using the changeset viewer.