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

git-svn-id: http://svn.automattic.com/wordpress/trunk@12841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-01-26 17:34:36 +00:00
parent 692cdf0c7b
commit 416b218ef1
1 changed files with 0 additions and 10 deletions

View File

@ -266,15 +266,6 @@ All at ###SITENAME###
}
add_action('update_option_new_admin_email', 'update_option_new_admin_email', 10, 2);
function profile_page_email_warning_ob_start() {
ob_start( 'profile_page_email_warning_ob_content' );
}
function profile_page_email_warning_ob_content( $content ) {
$content = str_replace( ' class="regular-text" /> Required.</td>', ' class="regular-text" /> Required. (You will be sent an email to confirm the change)</td>', $content );
return $content;
}
function update_profile_email() {
global $current_user, $wpdb;
if ( isset( $_GET[ 'newuseremail' ] ) && $current_user->ID ) {
@ -1079,7 +1070,6 @@ add_action ( 'myblogs_allblogs_options', 'choose_primary_blog' );
if ( strpos( $_SERVER['PHP_SELF'], 'profile.php' ) ) {
add_action( 'admin_init', 'update_profile_email' );
add_action( 'admin_init', 'profile_page_email_warning_ob_start' );
}
function blogs_listing_post() {