summaryrefslogtreecommitdiffstats
path: root/wp-admin/wpmu-edit.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-08-09 11:13:33 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-08-09 11:13:33 +0000
commitbcddc869e99c78aa66070f2ff64d19b8552aa151 (patch)
tree1d47cb4d7e061bed683abf9d77f925ea3a94ad20 /wp-admin/wpmu-edit.php
parent44dba05b34e6dc5728392a54166fbb184a0263cc (diff)
downloadwordpress-mu-bcddc869e99c78aa66070f2ff64d19b8552aa151.tar.gz
wordpress-mu-bcddc869e99c78aa66070f2ff64d19b8552aa151.tar.xz
wordpress-mu-bcddc869e99c78aa66070f2ff64d19b8552aa151.zip
Fix email content, props dsadr from http://mu.wordpress.org/forums/topic.php?id=5829&page&replies=8#post-34943
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1033 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/wpmu-edit.php')
-rw-r--r--wp-admin/wpmu-edit.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/wp-admin/wpmu-edit.php b/wp-admin/wpmu-edit.php
index eb37fa3..16d43eb 100644
--- a/wp-admin/wpmu-edit.php
+++ b/wp-admin/wpmu-edit.php
@@ -145,8 +145,8 @@ switch( $_REQUEST[ 'action' ] ) {
$blog_id = wpmu_create_blog($newdomain, $path, wp_specialchars( $blog['title'] ), $user_id ,'', $current_site->id);
$wpdb->show_errors();
if( !is_wp_error($blog_id) ) {
- $content_mail = sprintf(__('New blog created by %1s\n\nAddress: http://%2s\nName: %3s'), $current_user->user_login , $newdomain.$path, wp_specialchars($blog['title']) );
- @wp_mail( get_option('admin_email'), sprintf(__('[%s] New Blog Created'), $current_site->site_name), $content_mail );
+ $content_mail = sprintf(__("New blog created by %1s\n\nAddress: http://%2s\nName: %3s"), $current_user->user_login , $newdomain.$path, wp_specialchars($blog['title']) );
+ @wp_mail( get_site_option('admin_email'), sprintf(__('[%s] New Blog Created'), $current_site->site_name), $content_mail, 'From: "Site Admin" <' . get_site_option( 'admin_email' ) . '>' );
wp_redirect( add_query_arg( "updated", "blogadded", $_SERVER[ 'HTTP_REFERER' ] ) );
die();
} else {
@@ -417,4 +417,4 @@ switch( $_REQUEST[ 'action' ] ) {
wpmu_admin_do_redirect( "wpmu-admin.php" );
break;
}
-?> \ No newline at end of file
+?>