WordPress.org

Make WordPress Core

Changeset 12841


Ignore:
Timestamp:
01/26/10 17:34:36 (4 years ago)
Author:
ryan
Message:

Remove profile_page_email_warning_ob_start() and profile_page_email_warning_ob_content(). fixes #11759

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/ms.php

    r12826 r12841  
    266266} 
    267267add_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 } 
    277268 
    278269function update_profile_email() { 
     
    10801071if ( strpos( $_SERVER['PHP_SELF'], 'profile.php' ) ) { 
    10811072    add_action( 'admin_init', 'update_profile_email' ); 
    1082     add_action( 'admin_init', 'profile_page_email_warning_ob_start' ); 
    10831073} 
    10841074 
Note: See TracChangeset for help on using the changeset viewer.