Changeset 34294
- Timestamp:
- 09/18/2015 06:23:19 PM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/options-general.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/options-general.php
r34022 r34294 103 103 if ( $new_admin_email && $new_admin_email != get_option('admin_email') ) : ?> 104 104 <div class="updated inline"> 105 <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> 105 <p><?php 106 printf( __( 'There is a pending change of the admin email to %1$s. <a href="%2$s">Cancel</a>' ), 107 '<code>' . esc_html( $new_admin_email ) . '</code>', 108 esc_url( admin_url( 'options.php?dismiss=new_admin_email' ) ) 109 ); 110 ?></p> 106 111 </div> 107 112 <?php endif; ?> … … 138 143 </select> 139 144 140 <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> 145 <span id="utc-time"><?php 146 printf( __( '<abbr title="Coordinated Universal Time">UTC</abbr> time is %s' ), 147 '<code>' . date_i18n( $timezone_format, false, 'gmt' ) . '</code>' 148 ); 149 ?></span> 141 150 <?php if ( get_option('timezone_string') || !empty($current_offset) ) : ?> 142 <span id="local-time"><?php printf(__('Local time is <code>%1$s</code>'), date_i18n($timezone_format)); ?></span> 151 <span id="local-time"><?php 152 printf( __( 'Local time is %1$s' ), 153 '<code>' . date_i18n( $timezone_format ) . '</code>' 154 ); 155 ?></span> 143 156 <?php endif; ?> 144 157 <p class="description" id="timezone-description"><?php _e( 'Choose a city in the same timezone as you.' ); ?></p>
Note: See TracChangeset
for help on using the changeset viewer.