Ticket #26156: options-general.email.diff
File options-general.email.diff, 2.4 KB (added by , 11 years ago) |
---|
-
wp-admin/options-general.php
111 111 <p class="description"><?php _e('Enter the address here if you want your site homepage <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">to be different from the directory</a> you installed WordPress.'); ?></p></td> 112 112 </tr> 113 113 <tr valign="top"> 114 <th scope="row"><label for="admin_email"><?php _e('E -mail Address') ?> </label></th>114 <th scope="row"><label for="admin_email"><?php _e('Email Address') ?> </label></th> 115 115 <td><input name="admin_email" type="text" id="admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" /> 116 116 <p class="description"><?php _e('This address is used for admin purposes, like new user notification.') ?></p></td> 117 117 </tr> … … 130 130 </tr> 131 131 <?php } else { ?> 132 132 <tr valign="top"> 133 <th scope="row"><label for="new_admin_email"><?php _e('E -mail Address') ?> </label></th>133 <th scope="row"><label for="new_admin_email"><?php _e('Email Address') ?> </label></th> 134 134 <td><input name="new_admin_email" type="text" id="new_admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" /> 135 <p class="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>135 <p class="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> 136 136 <?php 137 137 $new_admin_email = get_option( 'new_admin_email' ); 138 138 if ( $new_admin_email && $new_admin_email != get_option('admin_email') ) : ?> 139 139 <div class="updated inline"> 140 <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>140 <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> 141 141 </div> 142 142 <?php endif; ?> 143 143 </td>