[Plugin: Genesis Slider] Mixed content when using https on the backend
-
Hi, when i access the admin page “Slider Settings” when using WordPress with HTTPS enabled on the admin backend, I get a mixed content warning.
The warning appears to come from the Javascript call:
<script type='text/javascript' src='https://somesite.com/subsite/wp-content/plugins/genesis-slider/js/admin.js?ver=1.0'></script>
The enqueue command is on line 103 of admin.php:
wp_enqueue_script( 'genesis_slider_admin_scripts', WP_PLUGIN_URL . '/genesis-slider/js/admin.js', array( 'jquery' ), '1.0', TRUE );
Rather than using ‘WP_PLUGIN_URL’ here, could you use ‘plugins_url’?
plugins_url is https-aware, apparently.
Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: Genesis Slider] Mixed content when using https on the backend’ is closed to new replies.