Make WordPress Core


Ignore:
Timestamp:
03/01/2013 05:14:09 PM (12 years ago)
Author:
ryan
Message:

Use wp_unslash() instead of stripslashes() and stripslashes_deep(). Use wp_slash() instead of add_magic_quotes().

File:
1 edited

Legend:

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

    r23554 r23567  
    8989
    9090Address: %2$s
    91 Name: %3$s' ), $current_user->user_login , get_site_url( $id ), stripslashes( $title ) );
     91Name: %3$s' ), $current_user->user_login , get_site_url( $id ), wp_unslash( $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.