SSL certificate issue
-
Hello,
My site is https://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: https://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: https://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: https://thelumberjacks.com/wp-content/plugins/weptile-image-slider-widget/js/weptile-image-slider-widget.js?ver=4.4.3
Found in: https://thelumberjacks.com/Insecure URL: https://thelumberjacks.com/wp-content/plugins/weptile-image-slider-widget/nivo-slider/jquery.nivo.slider.pack.js?ver=4.4.3
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://www.ads-software.com/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!
https://www.ads-software.com/plugins/weptile-image-slider-widget/
- The topic ‘SSL certificate issue’ is closed to new replies.