mirror of
git://develop.git.wordpress.org/
synced 2025-04-03 19:52:47 +02:00
Coding Standards: Remove redundant ignore annotation in populate_options()
.
Follow-up to [43627], [43628]. Props jrf, hellofromTonya. See #53359. git-svn-id: https://develop.svn.wordpress.org/trunk@51660 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e5e2b86a6a
commit
ab0e915f40
@ -390,7 +390,7 @@ function populate_options( array $options = array() ) {
|
||||
* or a valid timezone string (America/New_York). See https://www.php.net/manual/en/timezones.php
|
||||
* for all timezone strings supported by PHP.
|
||||
*/
|
||||
$offset_or_tz = _x( '0', 'default GMT offset or timezone string' ); // phpcs:ignore WordPress.WP.I18n.NoEmptyStrings
|
||||
$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(), true ) ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user