Skip to content

Commit

Permalink
Merge pull request #2355 from adiloztaser/fix/ep-enabled-check
Browse files Browse the repository at this point in the history
Fix EP enabled check when `is_integrated_request` returns false.
  • Loading branch information
felipeelia authored Sep 21, 2021
2 parents b4d1fdf + bb53e31 commit 9315eea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/classes/Feature/Search/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ public function output_feature_box_long() {
*/
public function integrate_search_queries( $enabled, $query ) {
if ( ! Utils\is_integrated_request( $this->slug ) ) {
return;
return false;
}

if ( ! is_a( $query, 'WP_Query' ) ) {
Expand Down

0 comments on commit 9315eea

Please sign in to comment.