Making WordPress.org

Changeset 6904


Ignore:
Timestamp:
03/21/2018 10:45:34 PM (7 years ago)
Author:
iandunn
Message:

WP15: Correct __ usage so that string is properly internationalized.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wp15.wordpress.net/public_html/content/themes/twentyseventeen-wp15/template-parts/header/site-branding.php

    r6889 r6904  
    2727                $formatted_date = date_i18n( $date_format, strtotime( '2018-05-27' ) );
    2828
    29                 // translators: 1: the formatted date; e.g., "May 27th, 2018".
    30                 esc_html__(
    31                     printf( 'WordPress turns 15 years old on %1$s.', $formatted_date ),
    32                     'wp15'
     29                printf(
     30                    // translators: 1: the formatted date; e.g., "May 27th, 2018".
     31                    __( 'WordPress turns 15 years old on %1$s.', 'wp15' ),
     32                    $formatted_date
    3333                );
    3434
Note: See TracChangeset for help on using the changeset viewer.