If you find the function maybe_show_login() in password-protected.php you just need to paste the code between the >>>> and <<< markers where shown (after the return; above it). Change MY_PASSWORD to whatever you want to use. Then use ?password=MY_PASSWORD on the end of any URL to a page on your wordpress site and it will take you straight there, logging in to the Password Protected plugin for you automatically in if needed.
I came up with a solution for now by modifying password-protected.php:
function maybe_show_login() {
// Don't show login if not enabled
if ( ! $this->is_active() )
return;
//>>>>>>>>>>>>> ADDED FOR AUTO LOGIN FROM URL ARGUMENT
if ((isset($_REQUEST["password"])) && ($_REQUEST["password"] == "MY_PASSWORD"))
{
$this->set_auth_cookie();
return;
}
//<<<<<<<<<<