• The pr_authenticate method appears to break the default WP login behaviour when iThemes Secuirty Brute Force is installed.

    Error text is displayed when the wrong password is used, rather than the shacking box.

    I think the code block should only be applied to the page restrict plugin i.e.

    if ( isset( $_POST( 'rp_login_form' ) ) ) {
    	if ( !empty( $user ) )
    		$error->user_login = $_POST['log'];
    
    	if ( is_wp_error( $error ) )
    		do_action( 'wp_login_failed', $error );
    }

    Where rp_login_form is a hidden form parameter.

    https://www.ads-software.com/plugins/pagerestrict/

  • The topic ‘Breaks WP Login Behaviour’ is closed to new replies.