From: Steve Sutton Date: Thu, 14 Apr 2016 00:08:27 +0000 (-0400) Subject: Fix error in building url for jquery element X-Git-Tag: v1.1.7^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=58b947f1ecea1e4b82c19b407cec08a631ae7079;p=WP-Themes%2Fmountpleasantwow.git Fix error in building url for jquery element --- 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 */