- Timestamp:
- 03/01/2013 04:28:40 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-theme-install-list-table.php
r23416 r23554 25 25 $search_string = ''; 26 26 if ( ! empty( $_REQUEST['s'] ) ){ 27 $search_string = strtolower( wp_unslash( $_REQUEST['s'] ) );27 $search_string = strtolower( stripslashes( $_REQUEST['s'] ) ); 28 28 $search_terms = array_unique( array_filter( array_map( 'trim', explode( ',', $search_string ) ) ) ); 29 29 } … … 60 60 switch ( $tab ) { 61 61 case 'search': 62 $type = isset( $_REQUEST['type'] ) ? wp_unslash( $_REQUEST['type'] ) : 'term';62 $type = isset( $_REQUEST['type'] ) ? stripslashes( $_REQUEST['type'] ) : 'term'; 63 63 switch ( $type ) { 64 64 case 'tag':
Note: See TracChangeset
for help on using the changeset viewer.