Mixed content
-
Hi, great idea for a plugin!
I was wondering though, would it not be best to remove the protocol from the path to avoid mixed content warnings? e.g.:
wp_enqueue_script('jquery', 'https://cdnjs.cloudflare.com/ajax/libs/jquery/'.$jquery_ver.'/jquery.min.js', false, null,true);
Changed to:
wp_enqueue_script('jquery', '//cdnjs.cloudflare.com/ajax/libs/jquery/'.$jquery_ver.'/jquery.min.js', false, null,true);
I might be wrong, but just thought I would ask ??
Phil
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Mixed content’ is closed to new replies.