Make WordPress Core


Ignore:
Timestamp:
03/01/2013 04:28:40 PM (12 years ago)
Author:
ryan
Message:

Revert 23416, 23419, 23445 except for wp_reset_vars() changes. We are going a different direction with the slashing cleanup, so resetting to a clean slate. see #21767

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network/site-new.php

    r23416 r23554  
    3939    if ( ! is_array( $_POST['blog'] ) )
    4040        wp_die( __( 'Can’t create an empty site.' ) );
    41     $blog = wp_unslash( $_POST['blog'] );
     41    $blog = $_POST['blog'];
    4242    $domain = '';
    4343    if ( preg_match( '|^([a-zA-Z0-9-])+$|', $blog['domain'] ) )
     
    8989
    9090Address: %2$s
    91 Name: %3$s' ), $current_user->user_login , get_site_url( $id ), $title );
     91Name: %3$s' ), $current_user->user_login , get_site_url( $id ), stripslashes( $title ) );
    9292        wp_mail( get_site_option('admin_email'), sprintf( __( '[%s] New Site Created' ), $current_site->site_name ), $content_mail, 'From: "Site Admin" <' . get_site_option( 'admin_email' ) . '>' );
    9393        wpmu_welcome_notification( $id, $user_id, $password, $title, array( 'public' => 1 ) );
Note: See TracChangeset for help on using the changeset viewer.