Permalink
Browse files

Simple Social Likes 1.0.1: Use https with Facebook iframe

  • Loading branch information...
1 parent 656ebf1 commit 1c768780c7a1f9a153ff70fa52b49cfd6e6c402a @knomepasi committed Feb 10, 2017
Showing with 2 additions and 2 deletions.
  1. +2 −2 plugins/simple-social-likes/simple-social-likes.php
@@ -3,7 +3,7 @@
* Plugin Name: Simple Social Likes
* Description: Shows Like/+1 buttons for Facebook/Google+.
* Author: Pasi Lallinaho
- * Version: 1.0
+ * Version: 1.0.1
* Author URI: http://open.knome.fi/
* Plugin URI: http://wordpress.knome.fi/
*
@@ -48,7 +48,7 @@ function SimpleSocialLikesScripts( ) {
function _SimpleSocialLikes_IFrame( $site, $id ) {
switch( $site ) {
case 'fb':
- return '<iframe class="simplefb" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ffacebook.com%2F' . $id . '&width=292&height=62&colorscheme=light&show_faces=false&border_color&stream=false&header=false" width="292" height="24"></iframe>';
+ return '<iframe class="simplefb" src="https://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ffacebook.com%2F' . $id . '&width=292&height=62&colorscheme=light&show_faces=false&border_color&stream=false&header=false" width="292" height="24"></iframe>';
break;
case 'google':
add_action( 'wp_footer', '_SimpleSocialLikesGoogleScript' );

0 comments on commit 1c76878

Please sign in to comment.