Make WordPress Core

Ticket #31852: 31852.patch

File 31852.patch, 1.7 KB (added by ramiy, 11 years ago)
  • wp-admin/options-general.php

     
    161161$new_admin_email = get_option( 'new_admin_email' );
    162162if ( $new_admin_email && $new_admin_email != get_option('admin_email') ) : ?>
    163163<div class="updated inline">
    164 <p><?php printf( __('There is a pending change of the admin e-mail to <code>%1$s</code>. <a href="%2$s">Cancel</a>'), esc_html( $new_admin_email ), esc_url( admin_url( 'options.php?dismiss=new_admin_email' ) ) ); ?></p>
     164<p><?php printf( __('There is a pending change of the admin e-mail to %1$s. <a href="%2$s">Cancel</a>'), '<code>' . esc_html( $new_admin_email ) . '</code>', esc_url( admin_url( 'options.php?dismiss=new_admin_email' ) ) ); ?></p>
    165165</div>
    166166<?php endif; ?>
    167167</td>
     
    196196<?php echo wp_timezone_choice($tzstring); ?>
    197197</select>
    198198
    199         <span id="utc-time"><?php printf(__('<abbr title="Coordinated Universal Time">UTC</abbr> time is <code>%s</code>'), date_i18n($timezone_format, false, 'gmt')); ?></span>
     199        <span id="utc-time"><?php printf(__('<abbr title="Coordinated Universal Time">UTC</abbr> time is %s'), '<code>' . date_i18n($timezone_format, false, 'gmt') . '</code>' ); ?></span>
    200200<?php if ( get_option('timezone_string') || !empty($current_offset) ) : ?>
    201         <span id="local-time"><?php printf(__('Local time is <code>%1$s</code>'), date_i18n($timezone_format)); ?></span>
     201        <span id="local-time"><?php printf(__('Local time is %s'), '<code>' . date_i18n($timezone_format) . '</code>' ); ?></span>
    202202<?php endif; ?>
    203203<p class="description"><?php _e('Choose a city in the same timezone as you.'); ?></p>
    204204<?php if ($check_zone_info && $tzstring) : ?>