From 1f7356af5ba196fbf012c400b00f1e19341a3fa9 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 26 Jan 2010 17:34:36 +0000 Subject: [PATCH] Remove profile_page_email_warning_ob_start() and profile_page_email_warning_ob_content(). fixes #11759 git-svn-id: https://develop.svn.wordpress.org/trunk@12841 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/ms.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/wp-admin/includes/ms.php b/wp-admin/includes/ms.php index d1ee71cb35..26c054a81a 100644 --- a/wp-admin/includes/ms.php +++ b/wp-admin/includes/ms.php @@ -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.', ' class="regular-text" /> Required. (You will be sent an email to confirm the change)', $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() {