Changeset 12841 for trunk/wp-admin/includes/ms.php
- Timestamp:
- 01/26/2010 05:34:36 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/ms.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/ms.php
r12826 r12841 266 266 } 267 267 add_action('update_option_new_admin_email', 'update_option_new_admin_email', 10, 2); 268 269 function profile_page_email_warning_ob_start() {270 ob_start( 'profile_page_email_warning_ob_content' );271 }272 273 function profile_page_email_warning_ob_content( $content ) {274 $content = str_replace( ' class="regular-text" /> Required.</td>', ' class="regular-text" /> Required. (You will be sent an email to confirm the change)</td>', $content );275 return $content;276 }277 268 278 269 function update_profile_email() { … … 1080 1071 if ( strpos( $_SERVER['PHP_SELF'], 'profile.php' ) ) { 1081 1072 add_action( 'admin_init', 'update_profile_email' ); 1082 add_action( 'admin_init', 'profile_page_email_warning_ob_start' );1083 1073 } 1084 1074
Note: See TracChangeset
for help on using the changeset viewer.