mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-30 02:04:26 +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:
@@ -86,9 +86,9 @@ if ((get_settings('comments_notify')) && ($approved)) {
|
||||
|
||||
do_action('comment_post', $comment_ID);
|
||||
|
||||
setcookie('comment_author_' . $cookiehash, $author, time() + 30000000, COOKIEPATH);
|
||||
setcookie('comment_author_email_' . $cookiehash, $email, time() + 30000000, COOKIEPATH);
|
||||
setcookie('comment_author_url_' . $cookiehash, $url, time() + 30000000, COOKIEPATH);
|
||||
setcookie('comment_author_' . $cookiehash, stripslashes($author), time() + 30000000, COOKIEPATH);
|
||||
setcookie('comment_author_email_' . $cookiehash, stripslashes($email), time() + 30000000, COOKIEPATH);
|
||||
setcookie('comment_author_url_' . $cookiehash, stripslashes($url), time() + 30000000, COOKIEPATH);
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
|
||||
Reference in New Issue
Block a user