Simple Social Media Share Buttons – Social Sharing for Everyone - Version 4.0.2

Version Description

  • 2022-06-23 =
  • Enhancement: Update the show/hide icon position in sidebar.
  • Enhancement: LinkedIn sharing URL.
  • Enhancement: Remove "+" sign from the Email title.
  • Compatibility: Compatible with WordPress 6.0
Download this release

Release Info

Developer hiddenpearls
Plugin Icon 128x128 Simple Social Media Share Buttons – Social Sharing for Everyone
Version 4.0.2
Comparing to
See all releases

Code changes from version 4.0.1 to 4.0.2

assets/css/front.css CHANGED
@@ -2571,11 +2571,21 @@ div[class*="simplesocialbuttons-float-left-post"] button .ssb_counter{
2571
  -ms-transform: translateX(0);
2572
  transform: translateX(0);
2573
  }
2574
- .ssb-hide-floating-bar:hover {
2575
  background-color: rgba(0,0,0,.4);
2576
  fill: #fff;
2577
  opacity: 1;
2578
  }
 
 
 
 
 
 
 
 
 
 
2579
 
2580
  div[class*="simplesocialbuttons-float"] button,
2581
  div[class*="simplesocialbuttons-float"] .ssb-fb-like,
2571
  -ms-transform: translateX(0);
2572
  transform: translateX(0);
2573
  }
2574
+ .ssb-hide-floating-bar:hover{
2575
  background-color: rgba(0,0,0,.4);
2576
  fill: #fff;
2577
  opacity: 1;
2578
  }
2579
+ @media only screen and (max-width: 1024px) {
2580
+ .ssb-hide-floating-bar{
2581
+ background-color: rgba(0,0,0,.4);
2582
+ fill: #fff;
2583
+ opacity: 1;
2584
+ left: 28px !important;
2585
+ transform: translateX(-10px) !important;
2586
+ padding: 0 6px 0 4px !important;
2587
+ }
2588
+ }
2589
 
2590
  div[class*="simplesocialbuttons-float"] button,
2591
  div[class*="simplesocialbuttons-float"] .ssb-fb-like,
inc/utils.php CHANGED
@@ -298,7 +298,7 @@ function ssb_viber_share_link( $url ) {
298
 
299
  // LinkdIn Sharing API calling
300
  function ssb_linkdin_share_link( $url ) {
301
- $Linkdin_share_link = 'https://www.linkedin.com/cws/share?url=' . $url;
302
  return $Linkdin_share_link;
303
  }
304
 
298
 
299
  // LinkdIn Sharing API calling
300
  function ssb_linkdin_share_link( $url ) {
301
+ $Linkdin_share_link = 'https://www.linkedin.com/sharing/share-offsite/?url=' . $url;
302
  return $Linkdin_share_link;
303
  }
304
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: hiddenpearls, WPBrigade, desideveloper
3
  Donate link: https://simplesocialbuttons.com/?utm_source=simple-social-buttons-lite&utm_medium=donate-link
4
  Tags: Social share, Social buttons, Whatsapp, Viber, LinkedIn, facebook, twitter, pinterest, plus one
5
  Requires at least: 4.0
6
- Tested up to: 5.9
7
- Stable tag: 4.0.1
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -147,6 +147,12 @@ like_button_size = small(default), large
147
 
148
  == Changelog ==
149
 
 
 
 
 
 
 
150
  = 4.0.1 - 2022-02-18 =
151
  * Bugfix: Typo in Settings.
152
  * Enhancement: Code optimization.
@@ -476,5 +482,5 @@ like_button_size = small(default), large
476
 
477
  == Upgrade Notice ==
478
 
479
- = 4.0.1 =
480
  * Please upgrade immediately.
3
  Donate link: https://simplesocialbuttons.com/?utm_source=simple-social-buttons-lite&utm_medium=donate-link
4
  Tags: Social share, Social buttons, Whatsapp, Viber, LinkedIn, facebook, twitter, pinterest, plus one
5
  Requires at least: 4.0
6
+ Tested up to: 6.0
7
+ Stable tag: 4.0.2
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
147
 
148
  == Changelog ==
149
 
150
+ = 4.0.2 - 2022-06-23 =
151
+ * Enhancement: Update the show/hide icon position in sidebar.
152
+ * Enhancement: LinkedIn sharing URL.
153
+ * Enhancement: Remove "+" sign from the Email title.
154
+ * Compatibility: Compatible with WordPress 6.0
155
+
156
  = 4.0.1 - 2022-02-18 =
157
  * Bugfix: Typo in Settings.
158
  * Enhancement: Code optimization.
482
 
483
  == Upgrade Notice ==
484
 
485
+ = 4.0.2 =
486
  * Please upgrade immediately.
simple-social-buttons.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Simple Social Buttons
4
  * Plugin URI: https://simplesocialbuttons.com/?utm_source=loginpress-lite&utm_medium=plugin-url-link
5
  * Description: Simple Social Buttons adds an advanced set of social media sharing buttons to your WordPress sites, such as: Facebook, Twitter, WhatsApp, Viber, Reddit, LinkedIn and Pinterest. This makes it the most <code>Flexible Social Sharing Plugin ever for Everyone.</code>
6
- * Version: 4.0.1
7
  * Author: WPBrigade
8
  * Author URI: https://www.WPBrigade.com/?utm_source=simple-social-buttons-lite&utm_medium=author-url-link
9
  * Text Domain: simple-social-buttons
@@ -44,7 +44,7 @@ class SimpleSocialButtonsPR {
44
  * @isnce
45
  * @var string
46
  */
47
- public $pluginVersion = '4.0.1';
48
 
49
  /**
50
  * Plugin Prefix
@@ -1117,6 +1117,8 @@ class SimpleSocialButtonsPR {
1117
  }
1118
  break;
1119
  case 'email':
 
 
1120
  if ( $theme == 'simple-icons' ) {
1121
  $arrButtonsCode[] = ' <button onclick="javascript:window.location.href = this.dataset.href;return false;" class="ssb_email-icon simplesocial-email-share" data-href="mailto:?subject=' . $title . '&body=' . $permalink . '">
1122
  <span class="icon"> <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="16px" height="11.9px" viewBox="-1214.1 1563.9 16 11.9" enable-background="new -1214.1 1563.9 16 11.9" xml:space="preserve">
3
  * Plugin Name: Simple Social Buttons
4
  * Plugin URI: https://simplesocialbuttons.com/?utm_source=loginpress-lite&utm_medium=plugin-url-link
5
  * Description: Simple Social Buttons adds an advanced set of social media sharing buttons to your WordPress sites, such as: Facebook, Twitter, WhatsApp, Viber, Reddit, LinkedIn and Pinterest. This makes it the most <code>Flexible Social Sharing Plugin ever for Everyone.</code>
6
+ * Version: 4.0.2
7
  * Author: WPBrigade
8
  * Author URI: https://www.WPBrigade.com/?utm_source=simple-social-buttons-lite&utm_medium=author-url-link
9
  * Text Domain: simple-social-buttons
44
  * @isnce
45
  * @var string
46
  */
47
+ public $pluginVersion = '4.0.2';
48
 
49
  /**
50
  * Plugin Prefix
1117
  }
1118
  break;
1119
  case 'email':
1120
+ // replace + sign with a space
1121
+ $title = str_replace( '+', ' ', $title );
1122
  if ( $theme == 'simple-icons' ) {
1123
  $arrButtonsCode[] = ' <button onclick="javascript:window.location.href = this.dataset.href;return false;" class="ssb_email-icon simplesocial-email-share" data-href="mailto:?subject=' . $title . '&body=' . $permalink . '">
1124
  <span class="icon"> <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="16px" height="11.9px" viewBox="-1214.1 1563.9 16 11.9" enable-background="new -1214.1 1563.9 16 11.9" xml:space="preserve">