CoreFiles by mySites.guru
wp-pass.php11 lines, 299 bytes, from wordpress-1.5.2.zip
Raw History Compare with 1.5.1.3
md5
6e29c3a7e1526c1b521a3a0afcca5a36
sha1
c2745e845aa204758ac5a75b820fb315ccbc7fb1
sha256
b76c534ef3b6e21cecb0754044f194e1bce4703d84c52684d50c2e4aca071db0
<?php
require( dirname(__FILE__) . '/wp-config.php');

if ( get_magic_quotes_gpc() )
	$_POST['post_password'] = stripslashes($_POST['post_password']);

// 10 days
setcookie('wp-postpass_' . COOKIEHASH, $_POST['post_password'], time() + 864000, COOKIEPATH);

wp_redirect($_SERVER['HTTP_REFERER']);
?>

The same content is in 8 releases, WordPress 1.5.1 to 2.0.1. See them all, or every version of this file.