• Hi,
    None of my password protected pages work after wp upgrade to 3.4.2 today, I enter the correct password and it reloads byt get back to enter the password field.
    I have looked through many posts about this back over the years, many have struggeled with same issue. No earlier solutions works for us.
    I have tested to deactivate all plugins.
    I have cleared cookies.
    I have reset all my passwords and created new pages.
    Still same problem.
    Website is http://www.diosentic.com
    Example of password protected page not working: http://www.diosentic.com/test
    Password:test
    Any suggestions?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Your page/password appeared to work when I just tested it. I’m having the same problem and wondered if you had any suggestions?

    Thanks
    Sam

    Hi everyone,

    I had the same issue. In my case it happened because I didn’t change the form action. Before there was /wp-pass.php handler which sets the entered post password into cookie. From now the form action should be /wp-login.php?action=postpass.

    Igor

    Thanks, Igor!

    Btw, to anyone else who stumbled upon this and has any pre-3.4 conditional code comparing $post_object->post_password with $_COOKIE['wp-postpass_' . COOKIEHASH]: you must now use wp_check_password() instead, as the post password is (wisely!) no longer saved in plaintext in the user’s browser.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘pw protected pages dont work after wp upgrade’ is closed to new replies.