summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/modules/search/class.jetpack-search-helpers.php')
-rw-r--r--plugins/jetpack/modules/search/class.jetpack-search-helpers.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/jetpack/modules/search/class.jetpack-search-helpers.php b/plugins/jetpack/modules/search/class.jetpack-search-helpers.php
index 27526b4c..39a89c53 100644
--- a/plugins/jetpack/modules/search/class.jetpack-search-helpers.php
+++ b/plugins/jetpack/modules/search/class.jetpack-search-helpers.php
@@ -7,6 +7,8 @@
* @since 5.8.0
*/
+use Automattic\Jetpack\Constants;
+
/**
* Various helper functions for reuse throughout the Jetpack Search code.
*
@@ -659,8 +661,8 @@ class Jetpack_Search_Helpers {
*/
public static function site_has_vip_index() {
$has_vip_index = (
- Jetpack_Constants::is_defined( 'JETPACK_SEARCH_VIP_INDEX' ) &&
- Jetpack_Constants::get_constant( 'JETPACK_SEARCH_VIP_INDEX' )
+ Constants::is_defined( 'JETPACK_SEARCH_VIP_INDEX' ) &&
+ Constants::get_constant( 'JETPACK_SEARCH_VIP_INDEX' )
);
/**