Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (6 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/theme-compat/comments.php

    r45932 r47122  
    1616);
    1717
    18 // Do not delete these lines
     18// Do not delete these lines.
    1919if ( ! empty( $_SERVER['SCRIPT_FILENAME'] ) && 'comments.php' == basename( $_SERVER['SCRIPT_FILENAME'] ) ) {
    2020    die( 'Please do not load this page directly. Thanks!' );
     
    6363        <div class="alignright"><?php next_comments_link(); ?></div>
    6464    </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. ?>
    6666
    6767    <?php if ( comments_open() ) : ?>
    6868        <!-- If comments are open, but there are no comments. -->
    6969
    70     <?php else : // comments are closed ?>
     70    <?php else : // Comments are closed. ?>
    7171        <!-- If comments are closed. -->
    7272        <p class="nocomments"><?php _e( 'Comments are closed.' ); ?></p>
Note: See TracChangeset for help on using the changeset viewer.