[EventCalendar] SSL Admin

Alex Tingle alex at firetree.net
Mon Feb 2 23:26:46 UTC 2009


Hi Eric,

On 2 Feb 2009, at 16:32, Eric Lamison wrote:

> 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 that. There's always somethng new to learn, eh?

-Alex




More information about the EventCalendar mailing list