SSL certificate issue
-
Hello,
My site is http://thelumberjacks.com and I’m in the process of installing an SSL on my site. In my tests I’m getting the following errors:
Insecure URL: http://thelumberjacks.com/wp-content/plugins/weptile-image-slider-widget/css/weptile-image-slider-widget.css?ver=4.4.3
Found in: https://thelumberjacks.com/Insecure URL: http://thelumberjacks.com/wp-content/plugins/weptile-image-slider-widget/nivo-slider/nivo-slider.css?ver=4.4.3
Found in: https://thelumberjacks.com/Insecure URL: http://thelumberjacks.com/wp-content/plugins/weptile-image-slider-widget/js/weptile-image-slider-widget.js?ver=4.4.3
Found in: https://thelumberjacks.com/My programmer found this:
In the weptile-image-slider-widget plugin, the developer used the defined constant, WP_PLUGIN_URL to point to the css files. The PHP statements look like this:
wp_register_style(‘weptile-image-slider-widget-nivo-slider-theme-‘.$slider_options[‘theme’], WP_PLUGIN_URL . ‘/’.$slider_options[‘theme’].’/’.$slider_options[‘theme’].’.css’);
Being a defined constant, WP_PLUGIN_URL is always going to be “http:[whatever].”
Instead, as pointed out in the support item, https://wordpress.org/support/topic/dont-use-wp_plugin_url, the developer should have used the function plugins_url().
So the question is… Can we change the definition of WP_PLUGIN_URL without anything getting effected? Or might it be best for your to change the code?
Thanks so much for your help!
The topic ‘SSL certificate issue’ is closed to new replies.