Social Login - Version 5.1.6

Version Description

  • Minor Bug Fix
Download this release

Release Info

Developer cyberlord92
Plugin Icon 128x128 Social Login
Version 5.1.6
Comparing to
See all releases

Code changes from version 5.1.5 to 5.1.6

class-mo-openid-social-share.php CHANGED
@@ -67,7 +67,7 @@ $url = $http . $_SERVER["HTTP_HOST"] . $_SERVER['REQUEST_URI'];
67
  <?php
68
  if($custom_theme == 'custom'){
69
  if( get_option('mo_openid_facebook_share_enable') ) {
70
- $link='https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2F';
71
  ?>
72
  <a rel='nofollow' title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-facebook" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
73
  <?php
@@ -177,7 +177,7 @@ $url = $http . $_SERVER["HTTP_HOST"] . $_SERVER['REQUEST_URI'];
177
 
178
  else if($custom_theme == 'customFont'){
179
  if( get_option('mo_openid_facebook_share_enable') ) {
180
- $link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2F';
181
  ?>
182
  <a rel='nofollow' title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-facebook" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
183
  <?php
@@ -285,8 +285,10 @@ $url = $http . $_SERVER["HTTP_HOST"] . $_SERVER['REQUEST_URI'];
285
  }
286
 
287
  else{
 
 
288
  if( get_option('mo_openid_facebook_share_enable') ) {
289
- $link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2F';
290
  ?>
291
  <a rel='nofollow' title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Facebook' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/facebook.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
292
  <?php
@@ -399,7 +401,7 @@ $url = $http . $_SERVER["HTTP_HOST"] . $_SERVER['REQUEST_URI'];
399
  <?php
400
  if($custom_theme == 'custom'){
401
  if( get_option('mo_openid_facebook_share_enable') ) {
402
- $link='https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2F';
403
  ?>
404
  <a rel='nofollow' title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link" style="margin-bottom:<?php echo $space_icons?>px !important;"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-facebook" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
405
  <?php
@@ -508,7 +510,7 @@ $url = $http . $_SERVER["HTTP_HOST"] . $_SERVER['REQUEST_URI'];
508
  }
509
  else if($custom_theme == 'customFont'){
510
  if( get_option('mo_openid_facebook_share_enable') ) {
511
- $link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2F';
512
  ?>
513
  <a rel='nofollow' title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link"><i class=" <?php echo $selected_theme; ?> fa fa-facebook" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top : 4px !important;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
514
  <?php
@@ -617,7 +619,7 @@ $url = $http . $_SERVER["HTTP_HOST"] . $_SERVER['REQUEST_URI'];
617
  }
618
  else{
619
  if( get_option('mo_openid_facebook_share_enable') ) {
620
- $link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2F';
621
  ?>
622
  <a rel='nofollow' title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link"><img alt='Facebook' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;background-color:white;' src="<?php echo plugins_url( 'includes/images/icons/facebook.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
623
  <?php
67
  <?php
68
  if($custom_theme == 'custom'){
69
  if( get_option('mo_openid_facebook_share_enable') ) {
70
+ $link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&amp;display=popup&amp;href='.$url;
71
  ?>
72
  <a rel='nofollow' title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-facebook" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
73
  <?php
177
 
178
  else if($custom_theme == 'customFont'){
179
  if( get_option('mo_openid_facebook_share_enable') ) {
180
+ $link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&amp;display=popup&amp;href='.$url;
181
  ?>
182
  <a rel='nofollow' title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-facebook" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
183
  <?php
285
  }
286
 
287
  else{
288
+
289
+
290
  if( get_option('mo_openid_facebook_share_enable') ) {
291
+ $link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&amp;display=popup&amp;href='.$url;
292
  ?>
293
  <a rel='nofollow' title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Facebook' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/facebook.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
294
  <?php
401
  <?php
402
  if($custom_theme == 'custom'){
403
  if( get_option('mo_openid_facebook_share_enable') ) {
404
+ $link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&amp;display=popup&amp;href='.$url;
405
  ?>
406
  <a rel='nofollow' title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link" style="margin-bottom:<?php echo $space_icons?>px !important;"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-facebook" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
407
  <?php
510
  }
511
  else if($custom_theme == 'customFont'){
512
  if( get_option('mo_openid_facebook_share_enable') ) {
513
+ $link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&amp;display=popup&amp;href='.$url;
514
  ?>
515
  <a rel='nofollow' title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link"><i class=" <?php echo $selected_theme; ?> fa fa-facebook" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top : 4px !important;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
516
  <?php
619
  }
620
  else{
621
  if( get_option('mo_openid_facebook_share_enable') ) {
622
+ $link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&amp;display=popup&amp;href='.$url;
623
  ?>
624
  <a rel='nofollow' title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link"><img alt='Facebook' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;background-color:white;' src="<?php echo plugins_url( 'includes/images/icons/facebook.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
625
  <?php
class-mo-openid-sso-shortcode-buttons.php CHANGED
@@ -60,7 +60,7 @@ function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
60
 
61
 
62
  if( get_option('mo_openid_facebook_share_enable') ) {
63
- $link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2F';
64
  $html .= "<a rel='nofollow' title='Facebook' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-facebook' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
65
  }
66
 
@@ -135,7 +135,7 @@ function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
135
  else if($custom_theme == 'customFont') {
136
 
137
  if( get_option('mo_openid_facebook_share_enable') ) {
138
- $link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2F';
139
  $html .= "<a rel='nofollow' title='Facebook' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons-6) . "px !important'><i class=' " .$selected_theme. " fa fa-facebook' style='padding-top:4px;text-align:center;color:" . $fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
140
  }
141
 
@@ -205,7 +205,7 @@ function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
205
  else {
206
 
207
  if( get_option('mo_openid_facebook_share_enable') ) {
208
- $link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2F';
209
  $html .= "<a rel='nofollow' title='Facebook' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 400);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons) . "px !important'><img alt='Facebook' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/facebook.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
210
  }
211
 
@@ -352,7 +352,7 @@ function mo_openid_vertical_share_shortcode( $atts = '', $title = '', $excerpt =
352
  if($custom_theme == 'custom'){
353
 
354
  if( get_option('mo_openid_facebook_share_enable') ) {
355
- $link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2F';
356
  $html .= "<a rel='nofollow' title='Facebook' onclick='popupCenter(" . '"' . $link . '"' .", 1000, 500);' class='mo-openid-share-link' style='margin-bottom : " .$spaceBetweenIcons . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-facebook' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
357
  }
358
 
@@ -430,7 +430,7 @@ function mo_openid_vertical_share_shortcode( $atts = '', $title = '', $excerpt =
430
  else if($custom_theme == 'customFont') {
431
 
432
  if( get_option('mo_openid_facebook_share_enable') ) {
433
- $link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2F';
434
  $html .= "<a rel='nofollow' title='Facebook' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='fa fa-facebook' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
435
  }
436
 
@@ -500,7 +500,7 @@ function mo_openid_vertical_share_shortcode( $atts = '', $title = '', $excerpt =
500
  else {
501
 
502
  if( get_option('mo_openid_facebook_share_enable') ) {
503
- $link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2F';
504
  $html .= "<a rel='nofollow' title='Facebook' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link'><img alt='Facebook' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important;height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/facebook.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
505
  }
506
 
60
 
61
 
62
  if( get_option('mo_openid_facebook_share_enable') ) {
63
+ $link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&amp;display=popup&amp;href='.$url;
64
  $html .= "<a rel='nofollow' title='Facebook' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-facebook' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
65
  }
66
 
135
  else if($custom_theme == 'customFont') {
136
 
137
  if( get_option('mo_openid_facebook_share_enable') ) {
138
+ $link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&amp;display=popup&amp;href='.$url;
139
  $html .= "<a rel='nofollow' title='Facebook' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons-6) . "px !important'><i class=' " .$selected_theme. " fa fa-facebook' style='padding-top:4px;text-align:center;color:" . $fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
140
  }
141
 
205
  else {
206
 
207
  if( get_option('mo_openid_facebook_share_enable') ) {
208
+ $link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&amp;display=popup&amp;href='.$url;
209
  $html .= "<a rel='nofollow' title='Facebook' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 400);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons) . "px !important'><img alt='Facebook' style= 'height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/facebook.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
210
  }
211
 
352
  if($custom_theme == 'custom'){
353
 
354
  if( get_option('mo_openid_facebook_share_enable') ) {
355
+ $link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&amp;display=popup&amp;href='.$url;
356
  $html .= "<a rel='nofollow' title='Facebook' onclick='popupCenter(" . '"' . $link . '"' .", 1000, 500);' class='mo-openid-share-link' style='margin-bottom : " .$spaceBetweenIcons . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fa fa-facebook' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
357
  }
358
 
430
  else if($custom_theme == 'customFont') {
431
 
432
  if( get_option('mo_openid_facebook_share_enable') ) {
433
+ $link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&amp;display=popup&amp;href='.$url;
434
  $html .= "<a rel='nofollow' title='Facebook' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='fa fa-facebook' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
435
  }
436
 
500
  else {
501
 
502
  if( get_option('mo_openid_facebook_share_enable') ) {
503
+ $link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&amp;display=popup&amp;href='.$url;
504
  $html .= "<a rel='nofollow' title='Facebook' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link'><img alt='Facebook' style= 'margin-bottom : " . ($spaceBetweenIcons-6) . "px !important;height: " . $sharingSize . "px !important;width: " . $sharingSize . "px !important;' src='" . plugins_url( 'includes/images/icons/facebook.png', __FILE__ ) . "' class='mo-openid-app-share-icons " . $selected_theme . "' ></a>";
505
  }
506
 
miniorange_openid_sso_settings.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Social Login, Social Sharing by miniOrange
5
  * Plugin URI: http://miniorange.com
6
  * Description: Allow your users to login, comment and share with Facebook, Google, Twitter, LinkedIn etc using customizable buttons.
7
- * Version: 5.1.5
8
  * Author: miniOrange
9
  * Author URI: http://miniorange.com
10
  * License: GPL2
4
  * Plugin Name: Social Login, Social Sharing by miniOrange
5
  * Plugin URI: http://miniorange.com
6
  * Description: Allow your users to login, comment and share with Facebook, Google, Twitter, LinkedIn etc using customizable buttons.
7
+ * Version: 5.1.6
8
  * Author: miniOrange
9
  * Author URI: http://miniorange.com
10
  * License: GPL2
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://miniorange.com
4
  Tags: social login, social, facebook, twitter, login
5
  Requires at least: 2.0.2
6
  Tested up to: 4.8
7
- Stable tag: 5.1.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -143,6 +143,9 @@ Please email us at info@miniorange.com. You can also submit your query from the
143
 
144
 
145
  == Changelog ==
 
 
 
146
  = 5.1.5 =
147
  * Another Bug fix in Facebook share
148
 
@@ -373,6 +376,9 @@ Please email us at info@miniorange.com. You can also submit your query from the
373
  * First version of Social Login, Social Sharing plugin.
374
 
375
  == Upgrade Notice ==
 
 
 
376
  = 5.1.5 =
377
  * Another Bug fix in Facebook share
378
 
4
  Tags: social login, social, facebook, twitter, login
5
  Requires at least: 2.0.2
6
  Tested up to: 4.8
7
+ Stable tag: 5.1.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
143
 
144
 
145
  == Changelog ==
146
+ = 5.1.6 =
147
+ * Minor Bug Fix
148
+
149
  = 5.1.5 =
150
  * Another Bug fix in Facebook share
151
 
376
  * First version of Social Login, Social Sharing plugin.
377
 
378
  == Upgrade Notice ==
379
+ = 5.1.6 =
380
+ * Minor Bug Fix
381
+
382
  = 5.1.5 =
383
  * Another Bug fix in Facebook share
384