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

View File

@ -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>