Title: [Plugin: Pie Register] https problem loading date.js, jquery.datePicker.js, and datePicker.css
Last modified: August 20, 2016

---

# [Plugin: Pie Register] https problem loading date.js, jquery.datePicker.js, and datePicker.css

 *  [cwjordan](https://wordpress.org/support/users/cwjordan/)
 * (@cwjordan)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-pie-register-https-problem-loading-datejs-jquerydatepickerjs-and-datepickercss/)
 * I noticed that Pie Register version 1.2.9a loads the files date.js, jquery.datePicker.
   js, and datePicker.css via http even when the login page is being loaded via 
   https. The following change to the pie-register.php file, line 46, fixes that
   by using the plugins_url() function to get the plugin url:
 * Change:
 *  `$this->plugin_url = trailingslashit(get_option('siteurl')) . 'wp-content/plugins/'.
   basename(dirname(__FILE__)) .'/';`
 * to:
 *  `$this->plugin_url = trailingslashit(plugins_url(basename(dirname(__FILE__))));`
 * [http://wordpress.org/extend/plugins/pie-register/](http://wordpress.org/extend/plugins/pie-register/)

The topic ‘[Plugin: Pie Register] https problem loading date.js, jquery.datePicker.
js, and datePicker.css’ is closed to new replies.

 * ![](https://ps.w.org/pie-register/assets/icon-256x256.png?rev=2467686)
 * [Pie Register – User Registration, Profiles & Content Restriction](https://wordpress.org/plugins/pie-register/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pie-register/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pie-register/)
 * [Active Topics](https://wordpress.org/support/plugin/pie-register/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pie-register/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pie-register/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [cwjordan](https://wordpress.org/support/users/cwjordan/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-pie-register-https-problem-loading-datejs-jquerydatepickerjs-and-datepickercss/)
 * Status: not resolved