diff --git a/zoninator.php b/zoninator.php index e6fc7b0..d155f70 100644 --- a/zoninator.php +++ b/zoninator.php @@ -584,7 +584,7 @@ function ajax_recent_posts() { 'ignore_sticky_posts' => true, 'post_status' => array( 'publish', 'future' ), 'post__not_in' => $zone_post_ids, - ) ); + ), $this->_get_request_var( 'zone_id' ) ); if ( $this->_validate_category_filter( $cat ) ) { $args['cat'] = $cat; @@ -813,7 +813,7 @@ function ajax_search_posts() { 'order' => 'DESC', 'orderby' => 'post_date', 'suppress_filters' => true, - ) ); + ), $this->_get_request_var( 'zone_id' ) ); if ( $this->_validate_category_filter( $filter_cat ) ) { $args['cat'] = $filter_cat;