Changeset 33774 for trunk/src/wp-admin/options-general.php
- Timestamp:
- 08/28/2015 03:16:02 AM (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
r33329 r33774 136 136 </tr> 137 137 <tr> 138 <th scope="row"><label for="admin_email"><?php _e('E -mail Address') ?> </label></th>138 <th scope="row"><label for="admin_email"><?php _e('Email Address') ?> </label></th> 139 139 <td><input name="admin_email" type="email" id="admin_email" aria-describedby="admin-email-description" value="<?php form_option( 'admin_email' ); ?>" class="regular-text ltr" /> 140 140 <p class="description" id="admin-email-description"><?php _e( 'This address is used for admin purposes, like new user notification.' ) ?></p></td> … … 155 155 <?php } else { ?> 156 156 <tr> 157 <th scope="row"><label for="new_admin_email"><?php _e('E -mail Address') ?> </label></th>157 <th scope="row"><label for="new_admin_email"><?php _e('Email Address') ?> </label></th> 158 158 <td><input name="new_admin_email" type="email" id="new_admin_email" aria-describedby="new-admin-email-description" value="<?php form_option( 'admin_email' ); ?>" class="regular-text ltr" /> 159 <p class="description" id="new-admin-email-description"><?php _e( 'This address is used for admin purposes. If you change this we will send you an e -mail at your new address to confirm it. <strong>The new address will not become active until confirmed.</strong>' ) ?></p>159 <p class="description" id="new-admin-email-description"><?php _e( 'This address is used for admin purposes. If you change this we will send you an email at your new address to confirm it. <strong>The new address will not become active until confirmed.</strong>' ) ?></p> 160 160 <?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 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 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> 165 165 </div> 166 166 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.