Changeset 1751 for trunk/wp-comments-post.php
- Timestamp:
- 10/05/2004 04:22:31 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/wp-comments-post.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-comments-post.php
r1748 r1751 90 90 } 91 91 92 setcookie('comment_author_' . $cookiehash, stripslashes($author), time() + 30000000, COOKIEPATH);93 setcookie('comment_author_email_' . $cookiehash, stripslashes($email), time() + 30000000, COOKIEPATH);94 setcookie('comment_author_url_' . $cookiehash, stripslashes($url), time() + 30000000, COOKIEPATH);92 setcookie('comment_author_' . COOKIEHASH, stripslashes($author), time() + 30000000, COOKIEPATH); 93 setcookie('comment_author_email_' . COOKIEHASH, stripslashes($email), time() + 30000000, COOKIEPATH); 94 setcookie('comment_author_url_' . COOKIEHASH, stripslashes($url), time() + 30000000, COOKIEPATH); 95 95 96 96 header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); … … 98 98 header('Cache-Control: no-cache, must-revalidate'); 99 99 header('Pragma: no-cache'); 100 $location = (empty($_POST['redirect_to'])) ? $_SERVER["HTTP_REFERER"] : $_POST['redirect_to']; 101 $location = preg_replace('|[^a-z?=&/~.:_-]|i', '', $location);100 101 $location = get_permalink($comment_ID); 102 102 103 103 if ($is_IIS) {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)