| @@ -32,9 +32,9 @@ | ||
| 32 | 32 | */ |
| 33 | 33 | public function search( $keyword = '' ) { |
| 34 | 34 | global $wpdb; |
| 35 | 35 | $special_chars = $this->get_special_chars(); |
| 36 | - $s = $keyword ? esc_attr( $keyword ) : esc_attr(wp_unslash($_POST['keyword'])); | |
| 36 | + $s = $keyword ? esc_attr( $keyword ) : esc_attr( $_POST['keyword'] ); | |
| 37 | 37 | $s = stripslashes( $s ); |
| 38 | 38 | $s = str_replace( array( "\r", "\n" ), '', $s ); |
| 39 | 39 | $s = str_replace( $special_chars, '', $s ); |
| 40 | 40 | $show_cats = 'true'; |