| 1 | Index: options-general.php |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- options-general.php (revision 13330) |
|---|
| 4 | +++ options-general.php (working copy) |
|---|
| 5 | @@ -85,7 +85,14 @@ |
|---|
| 6 | <tr valign="top"> |
|---|
| 7 | <th scope="row"><label for="admin_email"><?php _e('E-mail address') ?> </label></th> |
|---|
| 8 | <td><input name="admin_email" type="text" id="admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text" /> |
|---|
| 9 | -<span class="description"><?php _e('This address is used for admin purposes, like new user notification.') ?></span></td> |
|---|
| 10 | +<?php |
|---|
| 11 | +$new_admin_email = get_option( 'new_admin_email' ); |
|---|
| 12 | +if ( is_email( $new_admin_email ) ) : ?> |
|---|
| 13 | +<?php printf( __('There is a pending change of the admin e-mail to: %s'), $new_admin_email ); ?> |
|---|
| 14 | +<?php else: ?> |
|---|
| 15 | +<?php _e('This address is used for admin purposes, like new user notification.') ?> |
|---|
| 16 | +<?php endif; ?> |
|---|
| 17 | +</span></td> |
|---|
| 18 | </tr> |
|---|
| 19 | <tr valign="top"> |
|---|
| 20 | <th scope="row"><?php _e('Membership') ?></th> |
|---|