Support » Plugin: Email Login » [Plugin: WP Email Login] Username or Email text display

  • Resolved John Parris

    (@mindctrl)


    Member

    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/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP Email Login] Username or Email text display’ is closed to new replies.