Changeset 6711 for trunk/wp-includes/comment-template.php
- Timestamp:
- 02/02/2008 06:42:09 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment-template.php
r6551 r6711 730 730 731 731 if ( !empty($post->post_password) ) { // if there's a password 732 if ( $_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password ) { // and it doesn't match the cookie732 if ( !isset($_COOKIE['wp-postpass_' . COOKIEHASH]) || $_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password ) { // and it doesn't match the cookie 733 733 echo __('Enter your password to view comments'); 734 734 return;
Note: See TracChangeset
for help on using the changeset viewer.