public function get_search_query($escaped = true)
    {
        $s     = isset($_REQUEST['s']) ? $_REQUEST['s'] : '';
        $query = apply_filters('get_search_query', $s);

        if ($escaped) {
            $query = esc_attr($query);
        }

        return $query;
    }
public function get_search_query($escaped = true)
    {
        $s     = isset($_REQUEST['s']) ? $_REQUEST['s'] : '';
        $query = apply_filters('get_search_query', $s);

        if ($escaped) {
            $query = esc_attr($query);
        }

        return $query;
    }
public function get_search_query ( $ escaped = true ) { $ s = isset ( $ _REQUEST [ 's' ] ) ? $ _REQUEST [ 's' ] : '' ; $ query = apply_filters ( 'get_search_query' , $ s ) ; if ( $ escaped ) { $ query = esc_attr ( $ query ) ; } return $ query ; }
Cause the real one doesn't work.
Cause the real one doesn t work .