mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 12:51:58 +00:00
Cookies are now unique, based on siteurl, allowing multiple installs under a single domain name.
git-svn-id: https://develop.svn.wordpress.org/trunk@458 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+2
-2
@@ -5,8 +5,8 @@
|
||||
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);
|
||||
include_once('wp-config.php');
|
||||
setcookie('wp-postpass_'.$cookiehash, $HTTP_POST_VARS['post_password'], time()+60*60*24*30);
|
||||
header('Location: ' . $HTTP_SERVER_VARS['HTTP_REFERER']);
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user