Changeset 47122 for trunk/src/wp-includes/theme-compat/comments.php
- Timestamp:
- 01/29/2020 12:43:23 AM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/theme-compat/comments.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/theme-compat/comments.php
r45932 r47122 16 16 ); 17 17 18 // Do not delete these lines 18 // Do not delete these lines. 19 19 if ( ! empty( $_SERVER['SCRIPT_FILENAME'] ) && 'comments.php' == basename( $_SERVER['SCRIPT_FILENAME'] ) ) { 20 20 die( 'Please do not load this page directly. Thanks!' ); … … 63 63 <div class="alignright"><?php next_comments_link(); ?></div> 64 64 </div> 65 <?php else : // this is displayed if there are no comments so far?>65 <?php else : // This is displayed if there are no comments so far. ?> 66 66 67 67 <?php if ( comments_open() ) : ?> 68 68 <!-- If comments are open, but there are no comments. --> 69 69 70 <?php else : // comments are closed?>70 <?php else : // Comments are closed. ?> 71 71 <!-- If comments are closed. --> 72 72 <p class="nocomments"><?php _e( 'Comments are closed.' ); ?></p>
Note: See TracChangeset
for help on using the changeset viewer.