mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Replace generic "Dear user" greeting in email notifications with a more personalized one.
props Ipstenu. fixes #31217. git-svn-id: https://develop.svn.wordpress.org/trunk@31403 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1434,7 +1434,7 @@ function wpmu_welcome_notification( $blog_id, $user_id, $password, $title, $meta
|
||||
|
||||
$welcome_email = get_site_option( 'welcome_email' );
|
||||
if ( $welcome_email == false )
|
||||
$welcome_email = __( 'Dear User,
|
||||
$welcome_email = __( 'Howdy USERNAME,
|
||||
|
||||
Your new SITE_NAME site has been successfully set up at:
|
||||
BLOG_URL
|
||||
@@ -2080,7 +2080,7 @@ function users_can_register_signup_filter() {
|
||||
function welcome_user_msg_filter( $text ) {
|
||||
if ( !$text ) {
|
||||
remove_filter( 'site_option_welcome_user_email', 'welcome_user_msg_filter' );
|
||||
$text = __( 'Dear User,
|
||||
$text = __( 'Howdy USERNAME,
|
||||
|
||||
Your new account is set up.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user