CoreFiles by mySites.guru
wp-pass.php12 lines, 362 bytes, from wordpress-0.72-beta-1.zip
Raw History Compare with 0.71-gold
md5
b47ef08b8eb205e714fbb2e84bf0eaa7
sha1
ac3de1e9dbf0916e60b74ae00fe10d07c90c8918
sha256
83f9cd4173ee32b5cb4d1b42a14f714d82756bbf88c1ff7a4154e1c523bf5ea5
<?php

/*
  This is just a very simple script to set a cookie with a posted password and redirect back from whence the browser came.
  It doesn't need to connect to the DB, or do anything fancy at all. Yum.
  -- Matt
*/

setcookie('wp-postpass', $HTTP_POST_VARS['post_password'], time()+60*60*24*30);
header('Location: ' . $HTTP_SERVER_VARS['HTTP_REFERER']);

?>

The same content is in 2 releases, WordPress 0.72-beta-1 to 0.72-RC1. See them all, or every version of this file.