#1160
Steve
Keymaster

Hey Marcus–

The issue with using the WP_PLUGIN_URL constant is that it doesn’t respect HTTPS.

Try using the piklist::$urls['piklist'] function instead:

$plugins['piklist_shortcode'] = piklist::$urls['piklist'] . '/parts/js/piklist-tinymce-shortcode.js';

We tested locally and it seems to work great.