Make WordPress Core


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

    r44574 r45604  
    2222                        ?>
    2323
    24                         <p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentyseventeen' ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p>
     24                        <p>
     25                        <?php
     26                        /* translators: %s: Link to post-new.php */
     27                        printf( __( 'Ready to publish your first post? <a href="%s">Get started here</a>.', 'twentyseventeen' ), esc_url( admin_url( 'post-new.php' ) ) );
     28                        ?>
     29                        </p>
    2530
    2631                <?php else : ?>
Note: See TracChangeset for help on using the changeset viewer.