WordPress.org

Make WordPress Core


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

    r47110 r47122  
    3434                _e( 'Leave a comment', 'twentytwenty' );
    3535            } elseif ( '1' === $comments_number ) {
    36                 /* translators: %s: post title */
     36                /* translators: %s: Post title. */
    3737                printf( _x( 'One reply on “%s”', 'comments title', 'twentytwenty' ), get_the_title() );
    3838            } else {
    3939                printf(
    40                     /* translators: 1: number of comments, 2: post title */
     40                    /* translators: 1: Number of comments, 2: Post title. */
    4141                    _nx(
    4242                        '%1$s reply on “%2$s”',
     
    8686                ?>
    8787
    88                 <nav class="comments-pagination pagination<?php echo $pagination_classes; //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- static output ?>" aria-label="<?php esc_attr_e( 'Comments', 'twentytwenty' ); ?>">
     88                <nav class="comments-pagination pagination<?php echo $pagination_classes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- static output ?>" aria-label="<?php esc_attr_e( 'Comments', 'twentytwenty' ); ?>">
    8989                    <?php echo wp_kses_post( $comment_pagination ); ?>
    9090                </nav>
Note: See TracChangeset for help on using the changeset viewer.