Skip to content

Commit

Permalink
Merge pull request #2813 from 10up/fix/2784
Browse files Browse the repository at this point in the history
Fix: Sync interruption message always mentions ElasticPress.io
  • Loading branch information
felipeelia authored Jun 20, 2022
2 parents 938b14d + 3b88cea commit 4b09304
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function get_index_prefix() {
* @return bool
*/
function is_epio() {
return preg_match( '#elasticpress\.io#i', get_host() );
return filter_var( preg_match( '#elasticpress\.io#i', get_host() ), FILTER_VALIDATE_BOOLEAN );
}

/**
Expand Down

0 comments on commit 4b09304

Please sign in to comment.