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-content/themes/twentytwelve/comments.php

    r44562 r47122  
    5858        </ol><!-- .commentlist -->
    5959
    60         <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
     60        <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
    6161        <nav id="comment-nav-below" class="navigation" role="navigation">
    6262            <h1 class="assistive-text section-heading"><?php _e( 'Comment navigation', 'twentytwelve' ); ?></h1>
     
    6464            <div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'twentytwelve' ) ); ?></div>
    6565        </nav>
    66         <?php endif; // check for comment navigation ?>
     66        <?php endif; // Check for comment navigation. ?>
    6767
    6868        <?php
    69         /* If there are no comments and comments are closed, let's leave a note.
     69        /*
     70         * If there are no comments and comments are closed, let's leave a note.
    7071         * But we only want the note on posts and pages that had comments in the first place.
    7172         */
Note: See TracChangeset for help on using the changeset viewer.