WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Deprecated user lookup function since WP 3.3

[Resolved] Deprecated user lookup function since WP 3.3

  • Noticed that it seems the plugin does not block non-users when searching for them int he DB. This uses a deprecated function on line 337 “get_userdatabylogin($username)”.

    Change:
    $userdata = get_userdatabylogin($username);

    to

    $userdata = get_user_by(‘login’, $username );

    and that should fix the plug-in.

    – DigiP

    http://wordpress.org/extend/plugins/login-lockdown/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Deprecated user lookup function since WP 3.3’ is closed to new replies.