Using plugin on HTTPS site
-
Hi,
The Modernizr include uses http, whereas it should be protocolless or dynamically using the proper protocol.
As stated by CloudFlare (https://cdnjs.com/), using no protocol is the preferred solution.So could you please apply the patch below? Thanks!
diff --git a/gravity-forms-auto-placeholders/gravity-forms-auto-placeholders.php b/src/content/plugins/gravity-forms-auto-placeholders/gravity-forms-auto-placeholders.php index c190ddd..ae83c22 100644 --- a/gravity-forms-auto-placeholders/gravity-forms-auto-placeholders.php +++ b/gravity-forms-auto-placeholders/gravity-forms-auto-placeholders.php @@ -26,7 +26,7 @@ Author URI: https://josh.dvvvvvvvv.com/ function gfap_load_scripts() { wp_enqueue_script('jquery'); - wp_register_script('modernizr', 'https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js', array('jquery')); + wp_register_script('modernizr', '//cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js', array('jquery')); wp_enqueue_script('modernizr'); } add_action('wp_enqueue_scripts', 'gfap_load_scripts');
https://www.ads-software.com/plugins/gravity-forms-auto-placeholders/
- The topic ‘Using plugin on HTTPS site’ is closed to new replies.