PATCH: Relative URI to avoid mixed content errors
-
This patch uses a protocol relative URI to prevent mixed content warnings when accessing WordPress over SSL
--- jquery-ui-widgets.php~ 2013-08-22 08:53:23.000000000 -0500 +++ jquery-ui-widgets.php 2013-08-29 11:16:03.000000000 -0500 @@ -158,7 +158,7 @@ $options = get_option('jquiw_options'); $jquery_theme = empty( $options['drp_jquery_theme'] ) ? 'smoothness' : $options['drp_jquery_theme']; - $jquery_css_base = 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/themes/'.$jquery_theme.'/jquery-ui.css'; + $jquery_css_base = '//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/themes/'.$jquery_theme.'/jquery-ui.css'; /* Register jQuery scripts if selected in Plugin options. */ if( isset($options['chk_inc_accordion']) && $options['chk_inc_accordion'] ) wp_enqueue_script( 'jquery-ui-accordion' );
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘PATCH: Relative URI to avoid mixed content errors’ is closed to new replies.