WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. joshuabettigole
    Member
    Posted 2 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";

    to
    <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!

    http://wordpress.org/extend/plugins/facebook-comments-for-wordpress/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

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