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. git-svn-id: https://develop.svn.wordpress.org/trunk@36585 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e4e9e19f4a
commit
29e2274793
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user