WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/05/2019 08:03:40 AM (19 months ago)
Author:
pento
Message:

Coding Standards: Add missing translator comments.

Twentys Eleven, Sixteen, and Seventeen now have translator comments for all their strings.

Also, WPCS now doesn't show missing translator comment warnings for test files.

See #47632.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentysixteen/template-parts/biography.php

    r40851 r45604  
    3131            <?php the_author_meta( 'description' ); ?>
    3232            <a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author">
    33                 <?php printf( __( 'View all posts by %s', 'twentysixteen' ), get_the_author() ); ?>
     33                <?php
     34                /* translators: %s: The post author display name */
     35                printf( __( 'View all posts by %s', 'twentysixteen' ), get_the_author() );
     36                ?>
    3437            </a>
    3538        </p><!-- .author-bio -->
Note: See TracChangeset for help on using the changeset viewer.