Changeset 8800 for trunk/wp-content/themes/classic/comments-popup.php
- Timestamp:
- 09/03/2008 07:54:14 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-content/themes/classic/comments-popup.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/classic/comments-popup.php
r7450 r8800 34 34 $comments = get_approved_comments($id); 35 35 $commentstatus = get_post($id); 36 if ( !empty($commentstatus->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH] != $commentstatus->post_password) { // and it doesn't match the cookie36 if ( post_password_required($commentstatus) ) { // and it doesn't match the cookie 37 37 echo(get_the_password_form()); 38 38 } else { ?>
Note: See TracChangeset
for help on using the changeset viewer.