Hi, when only having the admin area via https connection, 3 ressources on the jfc settings page are blocked by firefox because of http mixed content.
the cause is the usage of the constant “WP_PLUGIN_URL” in 2 files
“just-custom-fields.php” and “components/collection/collection.php”
i replaced the 3 occurances
- WP_PLUGIN_URL.'/just-custom-fields/assets/just_custom_fields.js', + plugins_url( 'assets/just_custom_fields.js', __FILE__ ), - wp_register_style('jcf-styles', WP_PLUGIN_URL.'/just-custom-fields/assets/styles.css'); + wp_register_style('jcf-styles', plugins_url( 'assets/styles.css', __FILE__ )); - WP_PLUGIN_URL.'/just-custom-fields/components/collection/assets/collection.js' + plugins_url( 'components/collection/assets/collection.js', __FILE__ )
please consider this for an future update.
details of the problem are described here: https://wordpress.org/ideas/topic/wp_plugin_url-doesnt-take-ssl-into-account
- You must be logged in to reply to this topic.