Use the _x context function. props Mamaduka. see #19601.
git-svn-id: https://develop.svn.wordpress.org/trunk@19788 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7f118d4b05
commit
fd475e222d
@ -358,7 +358,7 @@ function populate_options() {
|
|||||||
or a valid timezone string (America/New_York). See http://us3.php.net/manual/en/timezones.php
|
or a valid timezone string (America/New_York). See http://us3.php.net/manual/en/timezones.php
|
||||||
for all timezone strings supported by PHP.
|
for all timezone strings supported by PHP.
|
||||||
*/
|
*/
|
||||||
$offset_or_tz = __( '0', 'default GMT offset or timezone string' );
|
$offset_or_tz = _x( '0', 'default GMT offset or timezone string' );
|
||||||
if ( is_numeric( $offset_or_tz ) )
|
if ( is_numeric( $offset_or_tz ) )
|
||||||
$gmt_offset = $offset_or_tz;
|
$gmt_offset = $offset_or_tz;
|
||||||
elseif ( $offset_or_tz && in_array( $offset_or_tz, timezone_identifiers_list() ) )
|
elseif ( $offset_or_tz && in_array( $offset_or_tz, timezone_identifiers_list() ) )
|
||||||
|
Loading…
Reference in New Issue
Block a user