WordPress.org

Make WordPress Core

Ticket #12192: r13408.txt

File r13408.txt, 993 bytes (added by jorbin, 6 years ago)

actual patch to apply

Line 
1Index: options-general.php
2===================================================================
3--- options-general.php (revision 13408)
4+++ options-general.php (working copy)
5@@ -85,7 +85,17 @@
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+<span class="description">
11+<?php _e('This address is used for admin purposes, like new user notification.') ?>
12+</span>
13+<?php
14+$new_admin_email =  get_option( 'new_admin_email' );
15+if (true == $new_admin_email) : ?>
16+<p class='updated'>
17+<?php printf( __('There is a pending change of the admin e-mail to: %s'), $new_admin_email ); ?>
18+</p>
19+<?php endif; ?>
20+</td>
21 </tr>
22 <tr valign="top">
23 <th scope="row"><?php _e('Membership') ?></th>