mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Coding Standards: Remove redundant ignore annotation in populate_options()
.
Follow-up to [43627], [43628]. Props jrf, hellofromTonya. See #53359. Built from https://develop.svn.wordpress.org/trunk@51660 git-svn-id: http://core.svn.wordpress.org/trunk@51266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
90a950783d
commit
a91fc400a0
@ -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 ) ) {
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.9-alpha-51659';
|
||||
$wp_version = '5.9-alpha-51660';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user