From bfa50e478cd2c3ca52d19db546f15edcb77cca19 Mon Sep 17 00:00:00 2001 From: chadsterBAM Date: Fri, 15 Sep 2017 10:21:07 -0400 Subject: [PATCH] Update tailor.php Remove the protocol from the enqueued URL for multisites that force HTTPS through a plugin but not through the default site URL. We use Multisite with Multidomain Mapping. This is the only way we could make it so the script loads over https. --- tailor.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tailor.php b/tailor.php index d24a94e..e758d7f 100644 --- a/tailor.php +++ b/tailor.php @@ -468,7 +468,7 @@ public function enqueue_frontend_styles() { wp_enqueue_style( 'tailor-styles', - $stylesheet_path, + str_replace('http:','',$stylesheet_path), array(), $this->version() ); @@ -1071,4 +1071,4 @@ function tailor() { * * @since 1.0.0 */ -tailor(); \ No newline at end of file +tailor();