Changeset 13027 for trunk/wp-content/themes/twentyten/comments.php
- Timestamp:
- 02/08/2010 06:24:01 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyten/comments.php
r13024 r13027 5 5 if ( 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']) ) 6 6 die ( 'Please do not load this page directly. Thanks!' ); 7 if ( ! empty($post->post_password) ) : 8 if ( $_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password ) : 7 if ( post_password_required() ) : 9 8 ?> 10 9 <div class="nopassword"><?php _e('This post is password protected. Enter the password to view any comments.', 'twentyten') ?></div> … … 13 12 return; 14 13 endif; 15 endif;16 14 ?> 17 15
Note: See TracChangeset
for help on using the changeset viewer.