WP Events Calendar
Does not work with SSL - uses incorrect siteurl (2 posts)

  1. YukataNinja
    Posted 4 years ago #

    If a site uses https, the user will get a warning because EC is adding links that are http only.

    The reason for this is because in events-calendar.php the line define('EVENTSCALENDARURL', get_option('siteurl').'/wp-content/plugins/events-calendar'); is used. This is the wrong function, get_option should not be used, instead site_url() should be used. Here is the reference: http://codex.wordpress.org/Function_Reference/site_url.


  2. YukataNinja
    Posted 4 years ago #

    Siteurl() should also be used in ec_calendar.class.php for tb_pathToImage and tb_closeImage.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Events Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic