Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #33579, comment 2


Ignore:
Timestamp:
08/28/2015 05:41:05 AM (10 years ago)
Author:
tmatsuur
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33579, comment 2

    v1 v2  
    1616function touch_time(template.php line788)
    1717{{{
    18 $month .= "\t\t\t" . '<option value="' . $monthnum . '" data-text="' . sprintf( __( '%2$s', 'data-text' ), $monthnum, $monthtext ) . '" ' . selected( $monthnum, $mm, false ) . '>';
     18$month .= "\t\t\t" . '<option value="' . $monthnum . '" data-text="' . sprintf( _x( '%2$s', 'data-text' ), $monthnum, $monthtext ) . '" ' . selected( $monthnum, $mm, false ) . '>';
    1919}}}
    2020And using the translation in the case of Japanese select the '%1$s'.