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

  • 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/

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