summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/class.jetpack-xmlrpc-server.php')
-rw-r--r--plugins/jetpack/class.jetpack-xmlrpc-server.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/jetpack/class.jetpack-xmlrpc-server.php b/plugins/jetpack/class.jetpack-xmlrpc-server.php
index 61f1be7c..54e311b8 100644
--- a/plugins/jetpack/class.jetpack-xmlrpc-server.php
+++ b/plugins/jetpack/class.jetpack-xmlrpc-server.php
@@ -340,9 +340,10 @@ class Jetpack_XMLRPC_Server {
* @return array
*/
function validate_urls_for_idc_mitigation() {
+ require_once JETPACK__PLUGIN_DIR . 'sync/class.jetpack-sync-functions.php';
return array(
- 'home' => get_home_url(),
- 'siteurl' => get_site_url(),
+ 'home' => Jetpack_Sync_Functions::home_url(),
+ 'siteurl' => Jetpack_Sync_Functions::site_url(),
);
}