From 58b947f1ecea1e4b82c19b407cec08a631ae7079 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Wed, 13 Apr 2016 20:08:27 -0400 Subject: [PATCH] Fix error in building url for jquery element --- functions.php | 4 +--- style.css | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/functions.php b/functions.php index f742f00..8b4d80b 100644 --- a/functions.php +++ b/functions.php @@ -291,9 +291,7 @@ function glm_site_scripts() '1.0.10', true ); - $ui = $wp_scripts->query('jquery-ui-core'); - $http = is_ssl() ? 'https' : 'http'; - $url = "$http://ajax.googleapis.com/ajax/libs/jqueryui/{$ui->ver}/themes/smoothness/jquery-ui.min.css"; + $url = "//ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.min.css"; wp_enqueue_style('jquery-ui-smoothness', $url, false, null); if(is_front_page()) { } diff --git a/style.css b/style.css index d8b24ab..e532a34 100644 --- a/style.css +++ b/style.css @@ -3,5 +3,5 @@ Theme Name: MountPleasantCVB Author: Gaslight Media Author URI: http://www.gaslightmedia.com Description: A theme for MountPleasantCVB -Version: 1.1.4 +Version: 1.1.7 */ -- 2.17.1