From 359b7068d282c69c9a0d0f162c8fb1770cf0a027 Mon Sep 17 00:00:00 2001 From: Ismail Fazal Date: Sun, 19 Jan 2014 06:07:14 +0530 Subject: [PATCH] Using secure connection of Google cdn As jqueryui does not load on secure website using this plugin, using secure link fixes it, works on both secure as well as non secure websites. --- media.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media.php b/media.php index 1f96247..324ffde 100644 --- a/media.php +++ b/media.php @@ -3,7 +3,7 @@ function sc_add_stylesheets(){ if( !wp_style_is( 'social_connect', 'registered' ) ) { wp_register_style( "social_connect", SOCIAL_CONNECT_PLUGIN_URL . "/media/css/style.css" ); - wp_register_style( "jquery-ui", 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/themes/smoothness/jquery-ui.css' ); + wp_register_style( "jquery-ui", 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/themes/smoothness/jquery-ui.css' ); } if ( did_action( 'wp_print_styles' ) ) {