summaryrefslogtreecommitdiffstats
path: root/wp-includes
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-10-02 11:47:10 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-10-02 11:47:10 +0000
commit6cf373807d1ea716ca99d2e0a90d9bec7c4e7177 (patch)
treef0e72ed2b5fac00a72ce14d6bc3bbaa0e6465be5 /wp-includes
parent37fcf9958978a3c49c0e14913772bea688a51b49 (diff)
downloadwordpress-mu-6cf373807d1ea716ca99d2e0a90d9bec7c4e7177.tar.gz
wordpress-mu-6cf373807d1ea716ca99d2e0a90d9bec7c4e7177.tar.xz
wordpress-mu-6cf373807d1ea716ca99d2e0a90d9bec7c4e7177.zip
Send welcome email to users when blog created from backend.
git-svn-id: http://svn.automattic.com/wordpress-mu/branches/2.6@1501 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes')
-rw-r--r--wp-includes/wpmu-functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-includes/wpmu-functions.php b/wp-includes/wpmu-functions.php
index c452171..ba7017b 100644
--- a/wp-includes/wpmu-functions.php
+++ b/wp-includes/wpmu-functions.php
@@ -1480,7 +1480,7 @@ SITE_NAME" ) );
$message = $welcome_email;
if( empty( $current_site->site_name ) )
$current_site->site_name = "WordPress MU";
- $subject = sprintf(__('New %1$s Blog: %2$s'), $current_site->site_name, $title);
+ $subject = sprintf(__('New %1$s Blog: %2$s'), $current_site->site_name, stripslashes( $title ) );
wp_mail($user->user_email, $subject, $message, $message_headers);
return true;
}