WordPress.org

Ready to get started?Download WordPress

Forums

Pie Register
https problem loading date.js, jquery.datePicker.js, and datePicker.css (1 post)

  1. cwjordan
    Member
    Posted 1 year ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic