Fix error in building url for jquery element
authorSteve Sutton <ssutton@gmail.com>
Thu, 14 Apr 2016 00:08:27 +0000 (20:08 -0400)
committerSteve Sutton <ssutton@gmail.com>
Thu, 14 Apr 2016 00:08:27 +0000 (20:08 -0400)
functions.php
style.css

index f742f00..8b4d80b 100644 (file)
@@ -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()) {
     }
index d8b24ab..e532a34 100644 (file)
--- 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
 */