Forums

[Plugin: Event Calendar 3] SSL compatibility (1 post)

  1. maj0rglitch
    Member
    Posted 3 months ago #

    I managed to change the code a bit to support ssl.
    option.php replace
    $this->myfiles=get_bloginfo('url').'/wp-content/plugins/'.$mydir;

    with

    $this->myfiles=($_SERVER["HTTPS"] == "on")? str_replace("http://", "https://", get_bloginfo('wpurl')) : get_bloginfo('wpurl');
    $this->myfiles.='/wp-content/plugins/'.$mydir;

    http://wordpress.org/extend/plugins/event-calendar/

Reply

You must log in to post.

About this Topic

  • RSS feed for this topic
  • Started 3 months ago by maj0rglitch
  • WordPress version: 2.8
  • This topic is not a support question