diff options
Diffstat (limited to 'plugins/jetpack/_inc/jetpack-server-sandbox.php')
-rw-r--r-- | plugins/jetpack/_inc/jetpack-server-sandbox.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/jetpack/_inc/jetpack-server-sandbox.php b/plugins/jetpack/_inc/jetpack-server-sandbox.php index a0c90798..e027abba 100644 --- a/plugins/jetpack/_inc/jetpack-server-sandbox.php +++ b/plugins/jetpack/_inc/jetpack-server-sandbox.php @@ -15,7 +15,7 @@ function jetpack_server_sandbox_request_parameters( $sandbox, $url, $headers ) { $host = ''; - $url_host = parse_url( $url, PHP_URL_HOST ); + $url_host = wp_parse_url( $url, PHP_URL_HOST ); switch ( $url_host ) { case 'public-api.wordpress.com' : |