WordPress.org

Support

Support » Plugins and Hacks » Facebook Comments for WordPress » [Plugin: Facebook Comments for WordPress] Fix for SSL sites

[Plugin: Facebook Comments for WordPress] Fix for SSL sites

  • 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/

  • The topic ‘[Plugin: Facebook Comments for WordPress] Fix for SSL sites’ is closed to new replies.
Skip to toolbar