Limit Login Attempts
throws an error (2 posts)

  1. Mikkel Breum
    Posted 1 year ago #

    dprecated call and double declaration, kills WP after upgrade from 3.6.1 to 3.7.1


  2. kitchin
    Posted 1 year ago #

    What was the double declaration?

    I found one deprecated call, but you will only hit it in a specific situation when visiting your site legimately. If your cookie becomes invalid, for instance when migrating a WP install, it's at:

    Line 283
    $user = get_userdatabylogin($username);
    Should be:
    $user = get_user_by( 'login', $username )

    I guess this plugin is hard to test because you have to run it through attack scenarios. I only came across this bug because I did a migration.

    And like you say, upgrading can hit untested code paths.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Limit Login Attempts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.