Don't use WP_PLUGIN_URL
-
Please change this:
$font_resizer_path =WP_PLUGIN_URL.'/font-resizer/js/';
to
$font_resizer_path = plugins_url( 'js/', __FILE__ );
This will make your plugin usable in SSL sites.
thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Don't use WP_PLUGIN_URL’ is closed to new replies.