WordPress.org

Support

throws an error

Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘throws an error’ is closed to new replies.
Skip to toolbar