Title: Plugin making secure site insecure
Last modified: August 22, 2016

---

# Plugin making secure site insecure

 *  Resolved [Erik](https://wordpress.org/support/users/eriknokc/)
 * (@eriknokc)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/plugin-making-secure-site-insecure/)
 * The line of code below in the ko-calendar.php file in this plugin makes my site
   insecure.
 * `
    wp_enqueue_script('googleclient', 'http://apis.google.com/js/client.js?onload
   =ko_calendar_google_init', array('ko-calendar'), false, true);
 * If I change the code to https, then my site is secure and displays the padlock.
   The problem is that I have to change this every time you update your plugin. 
   Will you please update your code to be universal for http & https sites?
 * [https://wordpress.org/plugins/google-calendar-widget/](https://wordpress.org/plugins/google-calendar-widget/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Poco](https://wordpress.org/support/users/poco/)
 * (@poco)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/plugin-making-secure-site-insecure/#post-5529421)
 * Yes, I have that in the works. Just doing some testing. I will remove the http:
   from the URL and it should work on all sites.
 *  Plugin Author [Poco](https://wordpress.org/support/users/poco/)
 * (@poco)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/plugin-making-secure-site-insecure/#post-5529569)
 * Version 1.4.5 includes this change.
 *  Thread Starter [Erik](https://wordpress.org/support/users/eriknokc/)
 * (@eriknokc)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/plugin-making-secure-site-insecure/#post-5529570)
 * Thank you very much! I updated the plugin and it works great.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Plugin making secure site insecure’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/google-calendar-widget.svg)
 * [Google Calendar Widget](https://wordpress.org/plugins/google-calendar-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-calendar-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-calendar-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/google-calendar-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-calendar-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-calendar-widget/reviews/)

## Tags

 * [insecure](https://wordpress.org/support/topic-tag/insecure/)

 * 3 replies
 * 2 participants
 * Last reply from: [Erik](https://wordpress.org/support/users/eriknokc/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/plugin-making-secure-site-insecure/#post-5529570)
 * Status: resolved