Title: Support for admin SSL conection
Last modified: August 31, 2016

---

# Support for admin SSL conection

 *  Resolved [netzgestaltung](https://wordpress.org/support/users/netzgestaltung/)
 * (@netzgestaltung)
 * [10 years ago](https://wordpress.org/support/topic/support-for-admin-ssl-conection/)
 * 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](https://wordpress.org/ideas/topic/wp_plugin_url-doesnt-take-ssl-into-account)
 * greets
    tom
 * [https://wordpress.org/plugins/just-custom-fields/](https://wordpress.org/plugins/just-custom-fields/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [netzgestaltung](https://wordpress.org/support/users/netzgestaltung/)
 * (@netzgestaltung)
 * [10 years ago](https://wordpress.org/support/topic/support-for-admin-ssl-conection/#post-7440505)
 * the same applies to “inc/functions.post”
 *     ```
       - wp_register_style('jcf_edit_post', WP_PLUGIN_URL.'/just-custom-fields/assets/edit_post.css');
       + wp_register_style('jcf_edit_post', plugins_url( 'assets/edit_post.css', __FILE__ ));
   
       - WP_PLUGIN_URL.'/just-custom-fields/assets/edit_post.js',
       + plugins_url( 'assets/edit_post.js', __FILE__ ),
       ```
   
 *  Thread Starter [netzgestaltung](https://wordpress.org/support/users/netzgestaltung/)
 * (@netzgestaltung)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/support-for-admin-ssl-conection/#post-7440776)
 * edit: in inc/functions.post.php its dirname(__FILE__)
 *     ```
       - wp_register_style('jcf_edit_post', WP_PLUGIN_URL.'/just-custom-fields/assets/edit_post.css');
       + wp_register_style('jcf_edit_post', plugins_url( 'assets/edit_post.css', dirname(__FILE__) ));
   
       - WP_PLUGIN_URL.'/just-custom-fields/assets/edit_post.js',
       + plugins_url( 'assets/edit_post.js', dirname(__FILE__) ),
       ```
   
 *  [myelomauk](https://wordpress.org/support/users/myelomauk/)
 * (@myelomauk)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/support-for-admin-ssl-conection/#post-7440804)
 * Second this. Would be great to have working correctly for admin SSL.
    Thank you.
   Stu
 *  Plugin Author [Alex Prokopenko / JustCoded](https://wordpress.org/support/users/aprokopenko/)
 * (@aprokopenko)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/support-for-admin-ssl-conection/#post-8473850)
 * Thanks for the notify about this issue. Fixed in v3.0.2

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Support for admin SSL conection’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/just-custom-fields_b1eaf5.svg)
 * [Just Custom Fields](https://wordpress.org/plugins/just-custom-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/just-custom-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/just-custom-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/just-custom-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/just-custom-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/just-custom-fields/reviews/)

## Tags

 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [SSL](https://wordpress.org/support/topic-tag/ssl/)

 * 4 replies
 * 3 participants
 * Last reply from: [Alex Prokopenko / JustCoded](https://wordpress.org/support/users/aprokopenko/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/support-for-admin-ssl-conection/#post-8473850)
 * Status: resolved