Make sure to add the wpe-login parameter to the lostpassword URL.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Make sure to add the wpe-login parameter to the lostpassword URL. | |
*/ | |
function my_fix_wpelogin( $url ) { | |
$url = add_query_arg( 'wpe-login', true, $url ); | |
return $url; | |
} | |
add_filter( 'lostpassword_url', 'my_fix_wpelogin' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment