Title: Plugin not HTTPS compatible
Last modified: July 13, 2017

---

# Plugin not HTTPS compatible

 *  [Adam Walter](https://wordpress.org/support/users/adamwalter/)
 * (@adamwalter)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-https-compatible/)
 * The plugin contains hard-coded HTTP URLs for jQuery which cause a mixed-content
   error on HTTPS sites.
 * To fix, change lines 263-268 in includes/jquery-colorbox-frontend.php by removing
   the protocol which is best practice:
 *     ```
       if ($this->isTrue('debugMode')) {
           $jQueryLibraryUrl = "//code.jquery.com/jquery-".JQUERYLIBRARY_VERSION.".js";
       }
       else {
           $jQueryLibraryUrl = "//code.jquery.com/jquery-".JQUERYLIBRARY_VERSION.".min.js";
       }
       ```
   

The topic ‘Plugin not HTTPS compatible’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/jquery-colorbox_848c98.svg)
 * [jQuery Colorbox](https://wordpress.org/plugins/jquery-colorbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jquery-colorbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jquery-colorbox/)
 * [Active Topics](https://wordpress.org/support/plugin/jquery-colorbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jquery-colorbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jquery-colorbox/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Adam Walter](https://wordpress.org/support/users/adamwalter/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/plugin-not-https-compatible/)
 * Status: not resolved