Replace WP_PLUGIN_URL with plugins_url()
-
Hi,
A note to the developer to improve the plugin:
When loading the plugin directory URL use
plugins_url()
instead ofWP_PLUGIN_URL
Eg:
define('advps_url',plugins_url()."/advanced-post-slider/");
Source: advanced-post-slider.php, line# 22
Because
WP_PLUGIN_URL
doesn’t work on SSL properly. And because of loading non-SSL resources on SSL environment, the slider doesn’t work.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Replace WP_PLUGIN_URL with plugins_url()’ is closed to new replies.