[ Moderator Note: Please post code or markup snippets between backticks or
use the code button. ]
wp-pass.php isn't a part of the update 3.4.1 but the functionality is still there ???
I made a local disk search for a cookie file with a content of wp-postpass which was a part of the old files "to do"
* Creates the password cookie and redirects back to where the
* visitor was before.
* @package WordPress
/** Make sure that the WordPress bootstrap has run before continuing. */
require( dirname(__FILE__) . '/wp-load.php');
// 10 days, I changed to 15min=900
setcookie('wp-postpass_' . COOKIEHASH, stripslashes( $_POST['post_password'] ), time() + 900, COOKIEPATH);
I found such a cookie file with a nonsense name.
I deleted that file and now wordpress is asking for my password to the protected pages.
After adding the password I once again search for the cookie and it's there again with a different name and wordpress is no longer asking for the password.
So the file wp-pass.php isn't there anymore, but the same funcionality exists as before.
So the question now is ofcourse, where is the wp-pass.php functionality hidden/embedded?