Title: ssl / https
Last modified: October 15, 2016

---

# ssl / https

 *  [Russell Mann](https://wordpress.org/support/users/russell-mann/)
 * (@russell-mann)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/ssl-https-3/)
 * Hello,
 * Looks like this plugin makes a hard link call to an image using [http://](https://wordpress.org/support/topic/ssl-https-3/?output_format=md).
   This breaks the secure icon for https websites.
 * Looks like it’s coded into FBC_LOCATION, which is using WP_PLUGIN_URL. Which 
   is the wrong way to do it.
 * See [http://core.trac.wordpress.org/ticket/13941](http://core.trac.wordpress.org/ticket/13941)
 * (Basically you’re doing it wrong if you use WP_PLUGIN_URL, and should do it this
   way: [http://codex.wordpress.org/Determining_Plugin_and_Content_Directories](http://codex.wordpress.org/Determining_Plugin_and_Content_Directories))
 * Looks like your other code is modern, just this line is using a 5 year old method.
 * //define(‘FBC_LOCATION’, WP_PLUGIN_URL . ‘/’.basename(dirname(__FILE__)));
    define(‘
   FBC_LOCATION’, plugin_dir_url(__FILE__));
 * Also, the hard script links get blocked:
 * [http://connect.facebook.net/en_US/all.js#xfbml=1](http://connect.facebook.net/en_US/all.js#xfbml=1)
 * [http://platform.twitter.com/widgets.js](http://platform.twitter.com/widgets.js)
 * [http://assets.pinterest.com/js/pinit.js](http://assets.pinterest.com/js/pinit.js)
 * Please fix for next version.

The topic ‘ssl / https’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/fb-comment-share-for-woocommerce_6289c0.
   svg)
 * [Woocommerce FB Comment & Share](https://wordpress.org/plugins/fb-comment-share-for-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/fb-comment-share-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/fb-comment-share-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fb-comment-share-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fb-comment-share-for-woocommerce/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Russell Mann](https://wordpress.org/support/users/russell-mann/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/ssl-https-3/)
 * Status: not resolved