WordPress Social Sharing Plugin – Sassy Social Share - Version 3.2.17

Version Description

  • [Bugfix] Previous update was generating Javascript error when Whatsapp share icon was not enabled
Download this release

Release Info

Developer Heateor
Plugin Icon 128x128 WordPress Social Sharing Plugin – Sassy Social Share
Version 3.2.17
Comparing to
See all releases

Code changes from version 3.2.16 to 3.2.17

public/js/sassy-social-share-public.js CHANGED
@@ -1,6 +1,6 @@
1
  function heateorSssCallAjax(e){if(typeof jQuery!="undefined"){e()}else{heateorSssGetScript("https://code.jquery.com/jquery-latest.min.js",e)}}
2
  function heateorSssGetScript(e,t){var n=document.createElement("script");n.src=e;var r=document.getElementsByTagName("head")[0],i=false;n.onload=n.onreadystatechange=function(){if(!i&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){i=true;t();n.onload=n.onreadystatechange=null;r.removeChild(n)}};r.appendChild(n)}
3
- function heateorSssDetermineWhatsappShareAPI(){var a=jQuery("i.heateorSssWhatsappBackground a").attr("href");return-1!=navigator.userAgent.indexOf("Mobi")?(jQuery("i.heateorSssWhatsappBackground a").attr("href",a.replace("web.whatsapp.com","api.whatsapp.com")),"api.whatsapp.com"):(jQuery("i.heateorSssWhatsappBackground a").attr("href",a.replace("api.whatsapp.com","web.whatsapp.com")),"web.whatsapp.com")}
4
  /**
5
  * Show more sharing services popup
6
  */
@@ -186,7 +186,7 @@ function heateorSssMoreSharingPopup(elem, postUrl, postTitle, twitterTitle){
186
  whatsapp: {
187
  title: "Whatsapp",
188
  locale: "en-US",
189
- bookmarklet_url: "https://" + heateorSssDetermineWhatsappShareAPI() + "/send?text=" + postTitle + " " + postUrl,
190
  },
191
  diigo: {
192
  title: "Diigo",
@@ -769,7 +769,7 @@ function heateorSssCapitaliseFirstLetter(e) {
769
  }
770
 
771
  jQuery(function(){
772
- var heateorSssWhatsappJSAPI = heateorSssDetermineWhatsappShareAPI();
773
  var classes = ['heateor_sss_vertical_sharing', 'heateor_sss_vertical_counter'];
774
  for(var i = 0; i < classes.length; i++){
775
  if(jQuery('.' + classes[i]).length){
1
  function heateorSssCallAjax(e){if(typeof jQuery!="undefined"){e()}else{heateorSssGetScript("https://code.jquery.com/jquery-latest.min.js",e)}}
2
  function heateorSssGetScript(e,t){var n=document.createElement("script");n.src=e;var r=document.getElementsByTagName("head")[0],i=false;n.onload=n.onreadystatechange=function(){if(!i&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){i=true;t();n.onload=n.onreadystatechange=null;r.removeChild(n)}};r.appendChild(n)}
3
+ function heateorSssDetermineWhatsappShareAPI(a){if(a)return-1!=navigator.userAgent.indexOf("Mobi")?"api.whatsapp.com":"web.whatsapp.com";var p=jQuery("i.heateorSssWhatsappBackground a").attr("href");return void 0!==p?-1!=navigator.userAgent.indexOf("Mobi")?(jQuery("i.heateorSssWhatsappBackground a").attr("href",p.replace("web.whatsapp.com","api.whatsapp.com")),"api.whatsapp.com"):(jQuery("i.heateorSssWhatsappBackground a").attr("href",p.replace("api.whatsapp.com","web.whatsapp.com")),"web.whatsapp.com"):""}
4
  /**
5
  * Show more sharing services popup
6
  */
186
  whatsapp: {
187
  title: "Whatsapp",
188
  locale: "en-US",
189
+ bookmarklet_url: "https://" + heateorSssDetermineWhatsappShareAPI(true) + "/send?text=" + postTitle + " " + postUrl,
190
  },
191
  diigo: {
192
  title: "Diigo",
769
  }
770
 
771
  jQuery(function(){
772
+ var heateorSssWhatsappJSAPI = heateorSssDetermineWhatsappShareAPI(false);
773
  var classes = ['heateor_sss_vertical_sharing', 'heateor_sss_vertical_counter'];
774
  for(var i = 0; i < classes.length; i++){
775
  if(jQuery('.' + classes[i]).length){
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.heateor.com/donate/?action=Sassy+Social+Share
4
  Tags: social share, social sharing, social media share, share facebook, facebook social share, wordpress social share, share buttons, social share buttons, facebook like, twitter tweet, google +1, google plus share
5
  Requires at least: 2.5.0
6
  Tested up to: 5.1
7
- Stable tag: 3.2.16
8
  License: GPLv2 or later
9
 
10
  Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Google+, Pinterest, WhatsApp and over 100 more.
@@ -124,6 +124,9 @@ Yes, we can help you with it. Just drop an email at support[at]heateor[dot]com
124
  4. **Universal Sharing Popup**: Universal Sharing popup having all the supported sharing and bookmarking services
125
 
126
  == Changelog ==
 
 
 
127
  = 3.2.16 =
128
  * [Bugfix] Minor bugfix in Whatsapp share
129
 
@@ -702,4 +705,7 @@ Yes, we can help you with it. Just drop an email at support[at]heateor[dot]com
702
  * [Bugfix] Whatsapp share was not working in some cases with server cache enabled
703
 
704
  = 3.2.16 =
705
- * [Bugfix] Minor bugfix in Whatsapp share
 
 
 
4
  Tags: social share, social sharing, social media share, share facebook, facebook social share, wordpress social share, share buttons, social share buttons, facebook like, twitter tweet, google +1, google plus share
5
  Requires at least: 2.5.0
6
  Tested up to: 5.1
7
+ Stable tag: 3.2.17
8
  License: GPLv2 or later
9
 
10
  Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Google+, Pinterest, WhatsApp and over 100 more.
124
  4. **Universal Sharing Popup**: Universal Sharing popup having all the supported sharing and bookmarking services
125
 
126
  == Changelog ==
127
+ = 3.2.17 =
128
+ * [Bugfix] Previous update was generating Javascript error when Whatsapp share icon was not enabled
129
+
130
  = 3.2.16 =
131
  * [Bugfix] Minor bugfix in Whatsapp share
132
 
705
  * [Bugfix] Whatsapp share was not working in some cases with server cache enabled
706
 
707
  = 3.2.16 =
708
+ * [Bugfix] Minor bugfix in Whatsapp share
709
+
710
+ = 3.2.17 =
711
+ * [Bugfix] Previous update was generating Javascript error when Whatsapp share icon was not enabled
sassy-social-share.php CHANGED
@@ -7,7 +7,7 @@
7
  * Plugin Name: Sassy Social Share
8
  * Plugin URI: https://www.heateor.com
9
  * Description: Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Google+, Pinterest, WhatsApp and over 100 more.
10
- * Version: 3.2.16
11
  * Author: Team Heateor
12
  * Author URI: https://www.heateor.com
13
  * Text Domain: sassy-social-share
@@ -21,7 +21,7 @@ if ( ! defined( 'WPINC' ) ) {
21
  die;
22
  }
23
 
24
- define( 'HEATEOR_SSS_VERSION', '3.2.16' );
25
  define( 'HEATEOR_SSS_PLUGIN_DIR', plugin_dir_path(__FILE__) );
26
 
27
  // plugin core class object
7
  * Plugin Name: Sassy Social Share
8
  * Plugin URI: https://www.heateor.com
9
  * Description: Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Google+, Pinterest, WhatsApp and over 100 more.
10
+ * Version: 3.2.17
11
  * Author: Team Heateor
12
  * Author URI: https://www.heateor.com
13
  * Text Domain: sassy-social-share
21
  die;
22
  }
23
 
24
+ define( 'HEATEOR_SSS_VERSION', '3.2.17' );
25
  define( 'HEATEOR_SSS_PLUGIN_DIR', plugin_dir_path(__FILE__) );
26
 
27
  // plugin core class object