WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/01/2013 05:00:25 PM (9 years ago)
Author:
ryan
Message:

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

see #21767

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-ms-themes-list-table.php

    r23554 r23563  
    127127        static $term;
    128128        if ( is_null( $term ) )
    129             $term = stripslashes( $_REQUEST['s'] );
     129            $term = wp_unslash( $_REQUEST['s'] );
    130130
    131131        foreach ( array( 'Name', 'Description', 'Author', 'Author', 'AuthorURI' ) as $field ) {
Note: See TracChangeset for help on using the changeset viewer.