Password protected page with a form submits for me fine but for others redirects them back to the password prompt
When a user logs into a protected page, WordPress sets a cookie. We can check for the existence of that cookie with this conditional: if ( isset( $_COOKIE[‘wp-postpass_’ . COOKIEHASH] ) ) { // Do stuff. } Also, you should be aware that only one password is stored in cookies at a time, to the … Read more