Ticket #31852: 31852.2.patch
| File 31852.2.patch, 1.8 KB (added by , 10 years ago) |
|---|
-
src/wp-admin/options-general.php
161 161 $new_admin_email = get_option( 'new_admin_email' ); 162 162 if ( $new_admin_email && $new_admin_email != get_option('admin_email') ) : ?> 163 163 <div class="updated inline"> 164 <p><?php printf( __('There is a pending change of the admin email 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 165 printf( __( 'There is a pending change of the admin email to %1$s. <a href="%2$s">Cancel</a>' ), 166 '<code>' . esc_html( $new_admin_email ) . '</code>', 167 esc_url( admin_url( 'options.php?dismiss=new_admin_email' ) ) 168 ); 169 ?></p> 165 170 </div> 166 171 <?php endif; ?> 167 172 </td> … … 196 201 <?php echo wp_timezone_choice($tzstring); ?> 197 202 </select> 198 203 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> 204 <span id="utc-time"><?php 205 printf( __( '<abbr title="Coordinated Universal Time">UTC</abbr> time is %s' ), 206 '<code>' . date_i18n( $timezone_format, false, 'gmt' ) . '</code>' 207 ); 208 ?></span> 200 209 <?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> 210 <span id="local-time"><?php 211 printf( __( 'Local time is %1$s' ), 212 '<code>' . date_i18n( $timezone_format ) . '</code>' 213 ); 214 ?></span> 202 215 <?php endif; ?> 203 216 <p class="description" id="timezone-description"><?php _e( 'Choose a city in the same timezone as you.' ); ?></p> 204 217 <?php if ($check_zone_info && $tzstring) : ?>