Make WordPress Core


Ignore:
Timestamp:
03/01/2013 05:00:25 PM (14 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-sites-list-table.php

    r23554 r23563  
    3030                $pagenum = $this->get_pagenum();
    3131
    32                 $s = isset( $_REQUEST['s'] ) ? stripslashes( trim( $_REQUEST[ 's' ] ) ) : '';
     32                $s = isset( $_REQUEST['s'] ) ? wp_unslash( trim( $_REQUEST[ 's' ] ) ) : '';
    3333                $wild = '';
    3434                if ( false !== strpos($s, '*') ) {
Note: See TracChangeset for help on using the changeset viewer.