Forums

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

  1. maj0rglitch
    Member
    Posted 2 years 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/

Topic Closed

This topic has been closed to new replies.

About this Topic

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