From: Steve Sutton Date: Thu, 23 Mar 2017 12:58:38 +0000 (-0400) Subject: Make enqueu ssl X-Git-Tag: v2.9.14^2~13 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=c01a37ddabc134f8d3a112675080a617456361f8;p=WP-Plugins%2Fglm-member-db.git Make enqueu ssl use // for http or https --- diff --git a/controllers/admin.php b/controllers/admin.php index aaede590..31aa438e 100644 --- a/controllers/admin.php +++ b/controllers/admin.php @@ -398,7 +398,7 @@ class glmMembersAdmin extends GlmPluginSupport // Jquery DatePicker wp_enqueue_script('jquery-ui-datepicker'); - wp_enqueue_style('jquery-style', 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.css'); + wp_enqueue_style('jquery-style', '//ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.css'); wp_enqueue_media(); diff --git a/models/admin/pages/shortcode.php b/models/admin/pages/shortcode.php index 3b79e127..3d4dd01b 100644 --- a/models/admin/pages/shortcode.php +++ b/models/admin/pages/shortcode.php @@ -121,7 +121,7 @@ class GlmMembersAdmin_pages_shortcode // load shortcodeBuilder.js when the shortcode function has been fired if it hasn't been enqueued yet if( ! wp_script_is( 'jquery-ui-dialog', 'enqueued' ) ){ - wp_enqueue_style('jquery-style', 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.css'); + wp_enqueue_style('jquery-style', '//ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.css'); wp_enqueue_script('jquery-ui-dialog', false, array('jquery'), false, true); } @@ -187,7 +187,7 @@ class GlmMembersAdmin_pages_shortcode FROM " . GLM_MEMBERS_PLUGIN_DB_PREFIX . "amenity_groups ORDER BY name"; $amenGroups = $this->wpdb->get_results( $amenGroupSql, ARRAY_A ); - + // regions. $regionSql = " SELECT id,name