Changeset 1108 for trunk/wp-includes/template-functions-comment.php
- Timestamp:
- 04/20/2004 10:56:47 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/template-functions-comment.php
r1024 r1108 60 60 61 61 function comments_popup_link($zero='No Comments', $one='1 Comment', $more='% Comments', $CSSclass='', $none='Comments Off') { 62 global $id, $wpcommentspopupfile, $wpcommentsjavascript, $post, $wpdb, $tablecomments, $ HTTP_COOKIE_VARS, $cookiehash;62 global $id, $wpcommentspopupfile, $wpcommentsjavascript, $post, $wpdb, $tablecomments, $cookiehash; 63 63 global $querystring_start, $querystring_equal, $querystring_separator; 64 64 global $comment_count_cache, $single; … … 74 74 } else { 75 75 if (!empty($post->post_password)) { // if there's a password 76 if ($ HTTP_COOKIE_VARS['wp-postpass_'.$cookiehash] != $post->post_password) { // and it doesn't match the cookie76 if ($_COOKIE['wp-postpass_'.$cookiehash] != $post->post_password) { // and it doesn't match the cookie 77 77 echo('Enter your password to view comments'); 78 78 return;
Note: See TracChangeset
for help on using the changeset viewer.