WordPress.org

Ready to get started?Download WordPress

Forums

WP Email Login
[resolved] Username or Email text display (2 posts)

  1. mindctrl
    Member
    Posted 1 year ago #

    The plugin changes the login form to prompt for Username or Email, but it doesn't work if there is a redirect parameter on the url like this:
    wp-login.php?redirect_to=

    Changing this line of code:
    if ( 'wp-login.php' != basename( $_SERVER['REQUEST_URI'] ) )

    to this:

    if ( 'wp-login.php' != basename( $_SERVER['SCRIPT_FILENAME'] ) )

    makes it work when there are query strings in the URL.

    I don't know if this has other implications, and was wondering if the author might check into this.

    Thanks!

    http://wordpress.org/extend/plugins/wp-email-login/

  2. Beau Lebens
    Member
    Plugin Author

    Posted 1 year ago #

    This has been fixed in the latest version of the plugin. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.