WordPress.org

Ready to get started?Download WordPress

Forums

Login LockDown
[resolved] Deprecated user lookup function since WP 3.3 (5 posts)

  1. DigiP
    Member
    Posted 9 months ago #

    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/

  2. mvandemar
    Member
    Plugin Author

    Posted 1 month ago #

    @DigiP - Thanks for helping people with this, this has just been fixed in 1.6. Sorry it took so long.

  3. Li-An
    Member
    Posted 1 month ago #

    Fine. Could you add a changelog so we can see the modifications on the plugin ?

  4. mvandemar
    Member
    Plugin Author

    Posted 1 month ago #

    @Li-An - there is a summary of the changes in the header of the loginlockdown.php file, and you can view all of the changes here:

    https://plugins.trac.wordpress.org/changeset/871708/login-lockdown

    -Michael

  5. mvandemar
    Member
    Plugin Author

    Posted 1 month ago #

    I added in the changelog to the reademe.txt so it shows now in the plugin homepage and in the dashboard when you go to update.

Reply

You must log in to post.

About this Plugin

About this Topic