diff --git src/wp-admin/includes/schema.php src/wp-admin/includes/schema.php
index 20853da3ec..d36c1db392 100644
|
|
function populate_options( array $options = array() ) { |
404 | 404 | * for all timezone strings supported by PHP. |
405 | 405 | */ |
406 | 406 | $offset_or_tz = _x( '0', 'default GMT offset or timezone string' ); // phpcs:ignore WordPress.WP.I18n.NoEmptyStrings |
| 407 | |
| 408 | /** |
| 409 | * Filters the default GMT offset or timezone string. |
| 410 | * |
| 411 | * @since 5.X.X |
| 412 | * |
| 413 | * @param string $offset_or_tz The default GMT offset or timezone string. |
| 414 | */ |
| 415 | $offset_or_tz = apply_filters( 'popular_option_timezone_string', $offset_or_tz ); |
| 416 | |
407 | 417 | if ( is_numeric( $offset_or_tz ) ) { |
408 | 418 | $gmt_offset = $offset_or_tz; |
409 | 419 | } elseif ( $offset_or_tz && in_array( $offset_or_tz, timezone_identifiers_list() ) ) { |