Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions search-filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ public function set_defaults()

//grab search term for prefilling search input
if(isset($wp_query->query['s']))
{//!"$%^&*()
{//!"£$%^&*()
$this->searchterm = trim(get_search_query());
}

Expand All @@ -572,7 +572,6 @@ public function set_defaults()

$this->defaults[SF_FPRE.'post_tag'] = $tags;

$taxs = array();
//loop through all the query vars
foreach($wp_query->query as $key=>$val)
{
Expand All @@ -582,6 +581,8 @@ public function set_defaults()
//now check it is a desired key
if(in_array($key, $this->taxonomylist))
{
$taxs = array();

$taxslug = ($val);
//$tax_params = explode("+",esc_attr($taxslug));

Expand Down Expand Up @@ -1721,4 +1722,4 @@ function walk_taxonomy( $type = "checkbox", $args = array() ) {
require_once(SEARCHANDFILTER_PLUGIN_DIR."/of-admin.php");


?>
?>