[Plugin: WP Email Login] Username or Email text display
-
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!
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.