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-info.php

    r23554 r23567  
    6363
    6464    // update blogs table
    65     $blog_data = stripslashes_deep( $_POST['blog'] );
     65    $blog_data = wp_unslash( $_POST['blog'] );
    6666    $existing_details = get_blog_details( $id, false );
    6767    $blog_data_checkboxes = array( 'public', 'archived', 'spam', 'mature', 'deleted' );
Note: See TracChangeset for help on using the changeset viewer.