Make WordPress Core


Ignore:
Timestamp:
07/09/2019 01:08:47 AM (7 years ago)
Author:
pento
Message:

Coding Standards: Add missing translator comments to the default themes.

All default themes now have translator comments for all strings with placeholders!

See #46732.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfifteen/content-none.php

    r44496 r45609  
    2020                <?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
    2121
    22                         <p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'twentyfifteen' ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p>
     22                        <p>
     23                        <?php
     24                        /* translators: %s: post editor URL */
     25                        printf( __( 'Ready to publish your first post? <a href="%s">Get started here</a>.', 'twentyfifteen' ), esc_url( admin_url( 'post-new.php' ) ) );
     26                        ?>
     27                        </p>
    2328
    2429                <?php elseif ( is_search() ) : ?>
Note: See TracChangeset for help on using the changeset viewer.