Changeset 8800 for trunk/wp-includes/comment-template.php
- Timestamp:
- 09/03/08 19:54:14 (3 months ago)
- Files:
-
- trunk/wp-includes/comment-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/comment-template.php
r8695 r8800 803 803 } 804 804 805 if ( !empty($post->post_password) ) { // if there's a password 806 if ( !isset($_COOKIE['wp-postpass_' . COOKIEHASH]) || $_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password ) { // and it doesn't match the cookie 807 echo __('Enter your password to view comments'); 808 return; 809 } 805 if ( post_password_required() ) { 806 echo __('Enter your password to view comments'); 807 return; 810 808 } 811 809
