Accessibility: Fix displaying of Universal time and Local time info on the General Settings screen.
In [36263] they were mistakenly moved within a conditional check. Fixes #35064. Built from https://develop.svn.wordpress.org/trunk@36585 git-svn-id: http://core.svn.wordpress.org/trunk@36552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
08510d2e5d
commit
0f88dbfee0
|
@ -146,7 +146,6 @@ if ( empty($tzstring) ) { // Create a UTC+- zone if no timezone string exists
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<p class="description" id="timezone-description"><?php _e( 'Choose a city in the same timezone as you.' ); ?></p>
|
<p class="description" id="timezone-description"><?php _e( 'Choose a city in the same timezone as you.' ); ?></p>
|
||||||
<?php if ( $check_zone_info && $tzstring ) : ?>
|
|
||||||
|
|
||||||
<p class="timezone-info">
|
<p class="timezone-info">
|
||||||
<span id="utc-time"><?php
|
<span id="utc-time"><?php
|
||||||
|
@ -166,6 +165,7 @@ if ( empty($tzstring) ) { // Create a UTC+- zone if no timezone string exists
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<?php if ( $check_zone_info && $tzstring ) : ?>
|
||||||
<p class="timezone-info">
|
<p class="timezone-info">
|
||||||
<span>
|
<span>
|
||||||
<?php
|
<?php
|
||||||
|
@ -215,8 +215,8 @@ if ( empty($tzstring) ) { // Create a UTC+- zone if no timezone string exists
|
||||||
date_default_timezone_set('UTC');
|
date_default_timezone_set('UTC');
|
||||||
?>
|
?>
|
||||||
</span>
|
</span>
|
||||||
<?php endif; ?>
|
|
||||||
</p>
|
</p>
|
||||||
|
<?php endif; ?>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.5-alpha-36584';
|
$wp_version = '4.5-alpha-36585';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue