WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/09/2019 01:08:47 AM (2 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/twentythirteen/taxonomy-post_format.php

    r44496 r45609  
    2121        <?php if ( have_posts() ) : ?>
    2222            <header class="archive-header">
    23                 <h1 class="archive-title"><?php printf( __( '%s Archives', 'twentythirteen' ), '<span>' . esc_html( get_post_format_string( get_post_format() ) ) . '</span>' ); ?></h1>
     23                <h1 class="archive-title">
     24                <?php
     25                /* translators: %s: post format name */
     26                printf( __( '%s Archives', 'twentythirteen' ), '<span>' . esc_html( get_post_format_string( get_post_format() ) ) . '</span>' );
     27                ?>
     28                </h1>
    2429            </header><!-- .archive-header -->
    2530
Note: See TracChangeset for help on using the changeset viewer.