mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-30 18:24:31 +00:00
Get our slashes straight.
git-svn-id: https://develop.svn.wordpress.org/trunk@1405 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
-- Matt
|
||||
*/
|
||||
require(dirname(__FILE__) . '/wp-config.php');
|
||||
setcookie('wp-postpass_'.$cookiehash, $_POST['post_password'], time()+60*60*24*30);
|
||||
setcookie('wp-postpass_'.$cookiehash, stripslashes($_POST['post_password']), time()+60*60*24*30);
|
||||
header('Location: ' . $_SERVER['HTTP_REFERER']);
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user