diff options
Diffstat (limited to 'plugins/jetpack/3rd-party/domain-mapping.php')
-rw-r--r-- | plugins/jetpack/3rd-party/domain-mapping.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/jetpack/3rd-party/domain-mapping.php b/plugins/jetpack/3rd-party/domain-mapping.php index 6079ac32..ebf08439 100644 --- a/plugins/jetpack/3rd-party/domain-mapping.php +++ b/plugins/jetpack/3rd-party/domain-mapping.php @@ -1,5 +1,7 @@ <?php +use Automattic\Jetpack\Constants; + /** * Class Jetpack_3rd_Party_Domain_Mapping * @@ -39,7 +41,7 @@ class Jetpack_3rd_Party_Domain_Mapping { * to try and hook a domain mapping plugin to the Jetpack sync filters for the home_url and site_url callables. */ function attempt_to_hook_domain_mapping_plugins() { - if ( ! Jetpack_Constants::is_defined( 'SUNRISE' ) ) { + if ( ! Constants::is_defined( 'SUNRISE' ) ) { return; } @@ -58,7 +60,7 @@ class Jetpack_3rd_Party_Domain_Mapping { * @return bool */ function hook_wordpress_mu_domain_mapping() { - if ( ! Jetpack_Constants::is_defined( 'SUNRISE_LOADED' ) || ! $this->function_exists( 'domain_mapping_siteurl' ) ) { + if ( ! Constants::is_defined( 'SUNRISE_LOADED' ) || ! $this->function_exists( 'domain_mapping_siteurl' ) ) { return false; } |