• Using the Password Protect Plugin to lock down a WP install and it is working well for all the pages it should and should not redirect except for the /wp-login.php?action=lostpassword, which it redirects back to wp-login.php.

    The plugin lets /wp-login.php/?action=register load, but not the other actions associated with that page, like lostpassword.

    I have scoured the functions in the plugin file and it seems to be using the wordpress auth_redirect function and calling it using this:

    function password_protected() {
    	if ( (!is_user_logged_in() and !is_feed()) or  (!is_user_logged_in() and is_feed() and !get_option("wppassprotect_public_feed")=="checked")) {
    		auth_redirect();
      }
    }

    But nowhere can I figure out why it’s redirecting the lostpassword action and not register.

  • The topic ‘[Plugin: Password Protect Plugin] Lost Password Redirect’ is closed to new replies.