Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter walker2238

    (@walker2238)

    Temp fix (using functions.php):

    function fix_aiowps_login_classes( $classes ) {
        $action = isset($_REQUEST['action']) ? $_REQUEST['action'] : 'login';
    
        if ( isset($_GET['key']) )
    	    $action = 'resetpass';
    
        // validate action so as to default to the login screen
        if ( !in_array( $action, array( 'postpass', 'logout', 'lostpassword', 'retrievepassword', 'resetpass', 'rp', 'register', 'login' ), true ) && false === has_filter( 'login_form_' . $action ) )
    	    $action = 'login';
    
    	$classes[0] = 'login-action-' . $action;
    
    	return $classes;
    }
    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, have you tested the latest version?

    Plugin Contributor mbrsolution

    (@mbrsolution)

    I am marking this thread as resolved. No replies in 9 months.

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Renaming login page results in missing body class action.’ is closed to new replies.