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:
Andrea Fercia 2016-02-19 16:08:51 +00:00
parent e4e9e19f4a
commit 29e2274793
1 changed files with 2 additions and 2 deletions

View File

@ -146,7 +146,6 @@ if ( empty($tzstring) ) { // Create a UTC+- zone if no timezone string exists
</select>
<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">
<span id="utc-time"><?php
@ -166,6 +165,7 @@ if ( empty($tzstring) ) { // Create a UTC+- zone if no timezone string exists
<?php endif; ?>
</p>
<?php if ( $check_zone_info && $tzstring ) : ?>
<p class="timezone-info">
<span>
<?php
@ -215,8 +215,8 @@ if ( empty($tzstring) ) { // Create a UTC+- zone if no timezone string exists
date_default_timezone_set('UTC');
?>
</span>
<?php endif; ?>
</p>
<?php endif; ?>
</td>
</tr>