Make WordPress Core


Ignore:
Timestamp:
02/26/2010 09:19:10 PM (16 years ago)
Author:
nacin
Message:

Show a notice when changing a multisite's site admin email. props jorbin. Introduce an .inline class that can be used with div.updated and div.error, to prevent the message from being moved to the top of the page. see #12192

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-general.php

    r13425 r13446  
    105105<th scope="row"><label for="new_admin_email"><?php _e('E-mail address') ?> </label></th>
    106106<td><input name="new_admin_email" type="text" id="new_admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text code" />
    107 <span class="setting-description"><?php _e('This address is used for admin purposes.') ?> <?php _e('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>') ?></span></td>
     107<span class="setting-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>') ?></span>
     108<?php
     109if ( $new_admin_email = get_option( 'new_admin_email' ) ) : ?>
     110<div class="updated inline">
     111<p><?php printf( __('There is a pending change of the admin e-mail to <code>%s</code>.'), $new_admin_email ); ?></p>
     112</div>
     113<?php endif; ?>
     114</td>
    108115</tr>
    109116<?php } ?>
Note: See TracChangeset for help on using the changeset viewer.