-
+ 4E6E928545E81E6FEF5493164957BE8F7CCC081DD69226B1B6C886978BC4CFC181840E5C964B43702F6AEC5B4E0B5E1B211182955CF9B650DBDE706EF27240EF
mp-wp/wp-pass.php
(0 . 0)(1 . 19)
160467 <?php
160468 /**
160469 * Creates the password cookie and redirects back to where the
160470 * visitor was before.
160471 *
160472 * @package WordPress
160473 */
160474
160475 /** Make sure that the WordPress bootstrap has ran before continuing. */
160476 require( dirname(__FILE__) . '/wp-load.php');
160477
160478 if ( get_magic_quotes_gpc() )
160479 $_POST['post_password'] = stripslashes($_POST['post_password']);
160480
160481 // 10 days
160482 setcookie('wp-postpass_' . COOKIEHASH, $_POST['post_password'], time() + 864000, COOKIEPATH);
160483
160484 wp_safe_redirect(wp_get_referer());
160485 ?>