mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 00:01:27 +01:00
Use the _x context function. props Mamaduka. see #19601.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ce311c1035
commit
17ac9ebf82
@ -358,7 +358,7 @@ function populate_options() {
|
||||
or a valid timezone string (America/New_York). See http://us3.php.net/manual/en/timezones.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 ) )
|
||||
$gmt_offset = $offset_or_tz;
|
||||
elseif ( $offset_or_tz && in_array( $offset_or_tz, timezone_identifiers_list() ) )
|
||||
|
Loading…
Reference in New Issue
Block a user