Make WordPress Core


Ignore:
Timestamp:
07/05/2019 08:03:40 AM (5 years 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/content-none.php

    r40851 r45604  
    1717        <?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
    1818
    19             <p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentysixteen' ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p>
     19            <p>
     20            <?php
     21            /* translators: %s: Link to post-new.php */
     22            printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentysixteen' ), esc_url( admin_url( 'post-new.php' ) ) );
     23            ?>
     24            </p>
    2025
    2126        <?php elseif ( is_search() ) : ?>
Note: See TracChangeset for help on using the changeset viewer.