WordPress.org

Forums

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

  1. mindctrl
    Member
    Posted 2 years 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 2 years 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

  • WP Email Login
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.