[EventCalendar] SSL Admin

Eric Lamison eric at logicalwebco.com
Mon Feb 2 16:32:34 UTC 2009


I had a problem with using Event Calendar with SLL used for the admin  
section. I would get a mixed content alert because EC was calling   
css and js file from the non-secure URL. To fix it I used one of Word  
Press's plugins_url function and it seemed to do the trick. I haven't  
tested it thoroughly though.

In options.php line 86 I changed:

$this->myfiles=get_option('siteurl').'/wp-content/plugins/'.$mydir;

to this:

$this->myfiles=plugins_url($mydir);

Thanks for the great plugin

elamison



More information about the EventCalendar mailing list