Facebook Comments for WordPress
Fix for SSL sites (1 post)

  1. joshuabettigole
    Posted 4 years ago #

    My site is strictly on HTTPS, but the JS include for this plugin causes certificate errors due to the non HTTPS include. The following fixes the issue, please include in a future release:

    In file: facebook-comments-display.php

    Change line 127 from
    <script src='http://connect.facebook.net/{$fbc_options['language']}/all.js#appId={$fbc_options['appId']}&xfbml=1' type='text/javascript'></script>\n";

    <script src='//connect.facebook.net/{$fbc_options['language']}/all.js#appId={$fbc_options['appId']}&xfbml=1' type='text/javascript'></script>\n";

    By knocking off the http:, the browser will include the current protocol. The facebook script is available of https, and works fine.

    Thanks for your work on this plugin. It's definitely nice to use!


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Facebook Comments for WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

  • RSS feed for this topic
  • Started 4 years ago by joshuabettigole
  • This topic is not resolved
  • WordPress version: 3.3.1