summaryrefslogtreecommitdiffstats
path: root/wp-admin
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-07-28 16:28:11 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-07-28 16:28:11 +0000
commit724d45673fd1912a4dc82137c8bdf8b255810d51 (patch)
tree38742288136c7a15403098af03b8239e360ec64e /wp-admin
parent6c20c5ce92d12f5a54b61130132f927ab0575de7 (diff)
downloadwordpress-mu-724d45673fd1912a4dc82137c8bdf8b255810d51.tar.gz
wordpress-mu-724d45673fd1912a4dc82137c8bdf8b255810d51.tar.xz
wordpress-mu-724d45673fd1912a4dc82137c8bdf8b255810d51.zip
Remove slashes from title when emailing admin
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1404 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin')
-rw-r--r--wp-admin/wpmu-edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-admin/wpmu-edit.php b/wp-admin/wpmu-edit.php
index 983a725..efb43c7 100644
--- a/wp-admin/wpmu-edit.php
+++ b/wp-admin/wpmu-edit.php
@@ -129,7 +129,7 @@ switch( $_GET['action'] ) {
if( !is_wp_error($id) ) {
if( get_user_option( $user_id, 'primary_blog' ) == 1 )
update_user_option( $user_id, 'primary_blog', $id, true );
- $content_mail = sprintf( __( "New blog created by %1s\n\nAddress: http://%2s\nName: %3s"), $current_user->user_login , $newdomain.$path, $title );
+ $content_mail = sprintf( __( "New blog created by %1s\n\nAddress: http://%2s\nName: %3s"), $current_user->user_login , $newdomain.$path, stripslashes( $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( array('updated' => 'true', 'action' => 'add-blog'), $_SERVER['HTTP_REFERER'] ) );
exit();