WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (12 months 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/twentyeleven/comments.php

    r44574 r47122  
    4949        </h2>
    5050
    51         <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
     51        <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
    5252        <nav id="comment-nav-above">
    5353            <h1 class="assistive-text"><?php _e( 'Comment navigation', 'twentyeleven' ); ?></h1>
     
    5555            <div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'twentyeleven' ) ); ?></div>
    5656        </nav>
    57         <?php endif; // check for comment navigation ?>
     57        <?php endif; // Check for comment navigation. ?>
    5858
    5959        <ol class="commentlist">
     
    7070        </ol>
    7171
    72         <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through ?>
     72        <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
    7373        <nav id="comment-nav-below">
    7474            <h1 class="assistive-text"><?php _e( 'Comment navigation', 'twentyeleven' ); ?></h1>
     
    7676            <div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'twentyeleven' ) ); ?></div>
    7777        </nav>
    78         <?php endif; // check for comment navigation ?>
     78        <?php endif; // Check for comment navigation. ?>
    7979
    8080        <?php
Note: See TracChangeset for help on using the changeset viewer.