WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/01/2013 04:28:40 PM (7 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/includes/class-wp-plugins-list-table.php

    r23416 r23554  
    2323
    2424        if ( isset($_REQUEST['s']) )
    25             $_SERVER['REQUEST_URI'] = add_query_arg('s', wp_unslash($_REQUEST['s']) );
     25            $_SERVER['REQUEST_URI'] = add_query_arg('s', stripslashes($_REQUEST['s']) );
    2626
    2727        $page = $this->get_pagenum();
     
    141141        static $term;
    142142        if ( is_null( $term ) )
    143             $term = wp_unslash( $_REQUEST['s'] );
     143            $term = stripslashes( $_REQUEST['s'] );
    144144
    145145        foreach ( $plugin as $value )
Note: See TracChangeset for help on using the changeset viewer.