diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2020-01-06 14:32:30 -0500 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2020-01-06 14:32:30 -0500 |
commit | 10ef81bf85ad0a4bad0d204838e14c99ca2526f7 (patch) | |
tree | b4bb36a326d41de12d1a6181d2a2baf34696ac24 /plugins/jetpack/modules/search/class.jetpack-search-helpers.php | |
parent | Updating script for Update (diff) | |
download | blogs-gentoo-10ef81bf85ad0a4bad0d204838e14c99ca2526f7.tar.gz blogs-gentoo-10ef81bf85ad0a4bad0d204838e14c99ca2526f7.tar.bz2 blogs-gentoo-10ef81bf85ad0a4bad0d204838e14c99ca2526f7.zip |
Update jetpack 8.0
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'plugins/jetpack/modules/search/class.jetpack-search-helpers.php')
-rw-r--r-- | plugins/jetpack/modules/search/class.jetpack-search-helpers.php | 6 |
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' ) ); /** |