X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/5aa86a9053fb0fa15846bb60aac2fb8fdfff524a..bf5c68485ef07868ad0a91168ecd0092af7661ae:/wp-includes/ms-functions.php diff --git a/wp-includes/ms-functions.php b/wp-includes/ms-functions.php index 17e0e670..c9cd15fd 100644 --- a/wp-includes/ms-functions.php +++ b/wp-includes/ms-functions.php @@ -1896,7 +1896,8 @@ add_filter('option_users_can_register', 'users_can_register_signup_filter'); */ function welcome_user_msg_filter( $text ) { if ( !$text ) { - return __( 'Dear User, + remove_filter( 'site_option_welcome_user_email', 'welcome_user_msg_filter' ); + $text = __( 'Dear User, Your new account is set up. @@ -1908,6 +1909,7 @@ LOGINLINK Thanks! --The Team @ SITE_NAME' ); + update_site_option( 'welcome_user_email', $text ); } return $text; }