changing WP_PLUGIN_URL to plugins_url()
May I suggest changing the use of WP_PLUGIN_URL to the function plugins_url() ? this would make it easier to use the built in filters for things such as forcing HTTPS scripts.
$dir = WP_PLUGIN_URL . ‘/bp-labs/beakers/js/jquery.mentions’;
$dir = plugins_url( ‘images/wordpress.png’ , __FILE__ ). ‘/beakers/js/jquery.mentions’;
If an SVN patch is useful I can provide that.
- The topic ‘changing WP_PLUGIN_URL to plugins_url()’ is closed to new replies.