WordPress Social Sharing Plugin – Sassy Social Share - Version 3.2.15

Version Description

  • [New] Twitter sharer shows title from "Twitter Title" option of Yoast Premium SEO post meta options, if one is specified
  • [Bugfix] Whatsapp share was not working in some cases with server cache enabled
Download this release

Release Info

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

Code changes from version 3.2.14 to 3.2.15

admin/class-sassy-social-share-admin.php CHANGED
@@ -464,8 +464,11 @@ class Sassy_Social_Share_Admin {
464
 
465
  if ( current_user_can( 'manage_options' ) ) {
466
  if( get_transient( 'heateor-sss-admin-notice-on-activation' ) ) { ?>
467
- <div class="notice notice-success is-dismissible">
468
- <p><strong><?php printf( __( 'Thanks for installing Sassy Social Share plugin. Click <a href="%s">here</a> to configure plugin settings.', 'sassy-social-share' ), admin_url( 'admin.php?page=heateor-sss-options' ) ); ?></strong></p>
 
 
 
469
  </div> <?php
470
  /* Delete transient, only display this notice once. */
471
  delete_transient( 'heateor-sss-admin-notice-on-activation' );
464
 
465
  if ( current_user_can( 'manage_options' ) ) {
466
  if( get_transient( 'heateor-sss-admin-notice-on-activation' ) ) { ?>
467
+ <div class="sassy-social-share-message notice notice-success is-dismissible">
468
+ <p><strong><?php printf( __( 'Thanks for installing Sassy Social Share plugin', 'sassy-social-share' ), 'http://support.heateor.com/configure-sassy-social-share' ); ?></strong></p>
469
+ <p>
470
+ <a href="http://support.heateor.com/configure-sassy-social-share" target="_blank" class="button button-primary"><?php _e( 'Configure the Plugin', 'sassy-social-share' ); ?></a>
471
+ </p>
472
  </div> <?php
473
  /* Delete transient, only display this notice once. */
474
  delete_transient( 'heateor-sss-admin-notice-on-activation' );
admin/partials/sassy-social-share-options-page.php CHANGED
@@ -1024,7 +1024,7 @@ defined( 'ABSPATH' ) or die("Cheating........Uh!!");
1024
  <td>
1025
  <input id="heateor_sss_counts" name="heateor_sss[horizontal_counts]" type="checkbox" <?php echo isset( $options['horizontal_counts'] ) ? 'checked = "checked"' : '';?> value="1" />
1026
  <br/>
1027
- <span class="heateor_sss_help_content" style="display:block"><?php _e( 'Share counts are supported for Facebook, Twitter, Linkedin, Buffer, Reddit, Pinterest, Odnoklassniki and Vkontakte', 'sassy-social-share' ) ?></span>
1028
  <span class="heateor_sss_help_content" style="display:block"><strong><?php echo sprintf( __( 'To show Twitter share count, you have to click "Give me my Twitter counts back" button at <a href="%s" target="_blank">TwitCount.com</a> and register your website %s with them. No need to copy-paste any code from their website.', 'sassy-social-share' ), 'http://twitcount.com', home_url() ) ?></strong></span>
1029
  </td>
1030
  </tr>
@@ -1446,7 +1446,7 @@ defined( 'ABSPATH' ) or die("Cheating........Uh!!");
1446
  <td>
1447
  <input id="heateor_sss_vertical_counts" name="heateor_sss[vertical_counts]" type="checkbox" <?php echo isset( $options['vertical_counts'] ) ? 'checked = "checked"' : '';?> value="1" />
1448
  <br/>
1449
- <span class="heateor_sss_help_content" style="display:block"><?php _e( 'Share counts are supported for Facebook, Twitter, Linkedin, Buffer, Reddit, Pinterest, Odnoklassniki and Vkontakte', 'sassy-social-share' ) ?></span>
1450
  <span class="heateor_sss_help_content" style="display:block"><strong><?php echo sprintf( __( 'To show Twitter share count, you have to click "Give me my Twitter counts back" button at <a href="%s" target="_blank">TwitCount.com</a> and register your website %s with them. No need to copy-paste any code from their website.', 'sassy-social-share' ), 'http://twitcount.com', home_url() ) ?></strong></span>
1451
  </td>
1452
  </tr>
1024
  <td>
1025
  <input id="heateor_sss_counts" name="heateor_sss[horizontal_counts]" type="checkbox" <?php echo isset( $options['horizontal_counts'] ) ? 'checked = "checked"' : '';?> value="1" />
1026
  <br/>
1027
+ <span class="heateor_sss_help_content" style="display:block"><?php _e( 'Share counts are supported for Facebook, Twitter, Linkedin, Buffer, Reddit, Pinterest, Odnoklassniki, Fintel and Vkontakte', 'sassy-social-share' ) ?></span>
1028
  <span class="heateor_sss_help_content" style="display:block"><strong><?php echo sprintf( __( 'To show Twitter share count, you have to click "Give me my Twitter counts back" button at <a href="%s" target="_blank">TwitCount.com</a> and register your website %s with them. No need to copy-paste any code from their website.', 'sassy-social-share' ), 'http://twitcount.com', home_url() ) ?></strong></span>
1029
  </td>
1030
  </tr>
1446
  <td>
1447
  <input id="heateor_sss_vertical_counts" name="heateor_sss[vertical_counts]" type="checkbox" <?php echo isset( $options['vertical_counts'] ) ? 'checked = "checked"' : '';?> value="1" />
1448
  <br/>
1449
+ <span class="heateor_sss_help_content" style="display:block"><?php _e( 'Share counts are supported for Facebook, Twitter, Linkedin, Buffer, Reddit, Pinterest, Odnoklassniki, Fintel and Vkontakte', 'sassy-social-share' ) ?></span>
1450
  <span class="heateor_sss_help_content" style="display:block"><strong><?php echo sprintf( __( 'To show Twitter share count, you have to click "Give me my Twitter counts back" button at <a href="%s" target="_blank">TwitCount.com</a> and register your website %s with them. No need to copy-paste any code from their website.', 'sassy-social-share' ), 'http://twitcount.com', home_url() ) ?></strong></span>
1451
  </td>
1452
  </tr>
languages/sassy-social-share.pot CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Sassy Social Share\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2019-02-22 09:58+0530\n"
6
- "PO-Revision-Date: 2019-02-22 09:58+0530\n"
7
  "Last-Translator: Heateor <hello@heateor.com>\n"
8
  "Language-Team: Heateor <hello@heateor.com>\n"
9
  "Language: en_IN\n"
@@ -65,20 +65,21 @@ msgid "Dismiss this notice"
65
  msgstr ""
66
 
67
  #: ../admin/class-sassy-social-share-admin.php:468
68
- #, php-format
69
- msgid ""
70
- "Thanks for installing Sassy Social Share plugin. Click <a href=\"%s\">here</"
71
- "a> to configure plugin settings."
 
72
  msgstr ""
73
 
74
- #: ../admin/class-sassy-social-share-admin.php:478
75
  msgid ""
76
  "Update \"Social Share myCRED Integration\" add-on for maximum compatibility "
77
  "with current version of Sassy Social Share"
78
  msgstr ""
79
 
80
- #: ../admin/class-sassy-social-share-admin.php:502
81
- #: ../admin/class-sassy-social-share-admin.php:575
82
  #, php-format
83
  msgid ""
84
  "This plugin is GDPR compliant. You need to update the privacy policy of your "
@@ -86,14 +87,14 @@ msgid ""
86
  "\"%s\" target=\"_blank\">here</a>"
87
  msgstr ""
88
 
89
- #: ../admin/class-sassy-social-share-admin.php:502
90
- #: ../admin/class-sassy-social-share-admin.php:528
91
- #: ../admin/class-sassy-social-share-admin.php:551
92
- #: ../admin/class-sassy-social-share-admin.php:575
93
  msgid "Okay"
94
  msgstr ""
95
 
96
- #: ../admin/class-sassy-social-share-admin.php:528
97
  #, php-format
98
  msgid ""
99
  "Twitter share counts are no longer working as newsharecounts.com is down. To "
@@ -101,7 +102,7 @@ msgid ""
101
  "\"_blank\">here</a> with this domain. No other steps needed."
102
  msgstr ""
103
 
104
- #: ../admin/class-sassy-social-share-admin.php:551
105
  #, php-format
106
  msgid ""
107
  "Now plugin supports a new service Twitcount.com to show Twitter shares. To "
@@ -110,15 +111,15 @@ msgid ""
110
  "your website %s with them. No need to copy-paste any code from their website."
111
  msgstr ""
112
 
113
- #: ../admin/class-sassy-social-share-admin.php:592
114
  msgid "Add-Ons"
115
  msgstr ""
116
 
117
- #: ../admin/class-sassy-social-share-admin.php:593
118
  msgid "Support Documentation"
119
  msgstr ""
120
 
121
- #: ../admin/class-sassy-social-share-admin.php:594
122
  msgid "Settings"
123
  msgstr ""
124
 
@@ -594,7 +595,7 @@ msgstr ""
594
  #: ../admin/partials/sassy-social-share-options-page.php:1449
595
  msgid ""
596
  "Share counts are supported for Facebook, Twitter, Linkedin, Buffer, Reddit, "
597
- "Pinterest, Odnoklassniki and Vkontakte"
598
  msgstr ""
599
 
600
  #: ../admin/partials/sassy-social-share-options-page.php:1028
@@ -1351,7 +1352,7 @@ msgid "Archives"
1351
  msgstr ""
1352
 
1353
  #: ../public/class-sassy-social-share-public.php:1509
1354
- #: ../public/class-sassy-social-share-public.php:1730
1355
  msgid "Invalid request"
1356
  msgstr ""
1357
 
2
  msgstr ""
3
  "Project-Id-Version: Sassy Social Share\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2019-03-01 08:23+0530\n"
6
+ "PO-Revision-Date: 2019-03-01 08:24+0530\n"
7
  "Last-Translator: Heateor <hello@heateor.com>\n"
8
  "Language-Team: Heateor <hello@heateor.com>\n"
9
  "Language: en_IN\n"
65
  msgstr ""
66
 
67
  #: ../admin/class-sassy-social-share-admin.php:468
68
+ msgid "Thanks for installing Sassy Social Share plugin"
69
+ msgstr ""
70
+
71
+ #: ../admin/class-sassy-social-share-admin.php:470
72
+ msgid "Configure the Plugin"
73
  msgstr ""
74
 
75
+ #: ../admin/class-sassy-social-share-admin.php:481
76
  msgid ""
77
  "Update \"Social Share myCRED Integration\" add-on for maximum compatibility "
78
  "with current version of Sassy Social Share"
79
  msgstr ""
80
 
81
+ #: ../admin/class-sassy-social-share-admin.php:505
82
+ #: ../admin/class-sassy-social-share-admin.php:578
83
  #, php-format
84
  msgid ""
85
  "This plugin is GDPR compliant. You need to update the privacy policy of your "
87
  "\"%s\" target=\"_blank\">here</a>"
88
  msgstr ""
89
 
90
+ #: ../admin/class-sassy-social-share-admin.php:505
91
+ #: ../admin/class-sassy-social-share-admin.php:531
92
+ #: ../admin/class-sassy-social-share-admin.php:554
93
+ #: ../admin/class-sassy-social-share-admin.php:578
94
  msgid "Okay"
95
  msgstr ""
96
 
97
+ #: ../admin/class-sassy-social-share-admin.php:531
98
  #, php-format
99
  msgid ""
100
  "Twitter share counts are no longer working as newsharecounts.com is down. To "
102
  "\"_blank\">here</a> with this domain. No other steps needed."
103
  msgstr ""
104
 
105
+ #: ../admin/class-sassy-social-share-admin.php:554
106
  #, php-format
107
  msgid ""
108
  "Now plugin supports a new service Twitcount.com to show Twitter shares. To "
111
  "your website %s with them. No need to copy-paste any code from their website."
112
  msgstr ""
113
 
114
+ #: ../admin/class-sassy-social-share-admin.php:595
115
  msgid "Add-Ons"
116
  msgstr ""
117
 
118
+ #: ../admin/class-sassy-social-share-admin.php:596
119
  msgid "Support Documentation"
120
  msgstr ""
121
 
122
+ #: ../admin/class-sassy-social-share-admin.php:597
123
  msgid "Settings"
124
  msgstr ""
125
 
595
  #: ../admin/partials/sassy-social-share-options-page.php:1449
596
  msgid ""
597
  "Share counts are supported for Facebook, Twitter, Linkedin, Buffer, Reddit, "
598
+ "Pinterest, Odnoklassniki, Fintel and Vkontakte"
599
  msgstr ""
600
 
601
  #: ../admin/partials/sassy-social-share-options-page.php:1028
1352
  msgstr ""
1353
 
1354
  #: ../public/class-sassy-social-share-public.php:1509
1355
+ #: ../public/class-sassy-social-share-public.php:1740
1356
  msgid "Invalid request"
1357
  msgstr ""
1358
 
public/class-sassy-social-share-public.php CHANGED
@@ -933,7 +933,7 @@ class Sassy_Social_Share_Public {
933
  */
934
  public function wpseo_twitter_title( $post ) {
935
 
936
- if ( $post && $this->is_plugin_active( 'wordpress-seo/wp-seo.php' ) && ( $wpseo_twitter_title = WPSEO_Meta::get_value( 'twitter-title', $post->ID ) ) ) {
937
  return $wpseo_twitter_title;
938
  }
939
  return '';
933
  */
934
  public function wpseo_twitter_title( $post ) {
935
 
936
+ if ( $post && ( $this->is_plugin_active( 'wordpress-seo/wp-seo.php' ) || $this->is_plugin_active( 'wordpress-seo-premium/wp-seo.php' ) ) && ( $wpseo_twitter_title = WPSEO_Meta::get_value( 'twitter-title', $post->ID ) ) ) {
937
  return $wpseo_twitter_title;
938
  }
939
  return '';
public/js/sassy-social-share-public.js CHANGED
@@ -1,7 +1,6 @@
1
  function heateorSssCallAjax(e){if(typeof jQuery!="undefined"){e()}else{heateorSssGetScript("https://code.jquery.com/jquery-latest.min.js",e)}}
2
-
3
  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)}
4
-
5
  /**
6
  * Show more sharing services popup
7
  */
@@ -187,7 +186,7 @@ function heateorSssMoreSharingPopup(elem, postUrl, postTitle, twitterTitle){
187
  whatsapp: {
188
  title: "Whatsapp",
189
  locale: "en-US",
190
- bookmarklet_url: "https://" + heateorSssWhatsappShareAPI + ".whatsapp.com/send?text=" + postTitle + " " + postUrl,
191
  },
192
  diigo: {
193
  title: "Diigo",
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(){return-1!=navigator.userAgent.indexOf("Mobi")?(jQuery("i.heateorSssWhatsappBackground a").attr("href").replace("web.whatsapp.com","api.whatsapp.com"),"api.whatsapp.com"):(jQuery("i.heateorSssWhatsappBackground a").attr("href").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() + "/send?text=" + postTitle + " " + postUrl,
190
  },
191
  diigo: {
192
  title: "Diigo",
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.14
8
  License: GPLv2 or later
9
 
10
  Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Google+, Pinterest, WhatsApp and over 100 more.
@@ -25,7 +25,7 @@ This is the Simplest and Smoothest Social Sharing plugin with optimized and grea
25
  * Compatible with myCRED (append myCRED referral ID at the end of the url being shared)
26
  * Around **100 Social Sharing/Bookmarking** services
27
  * Social Media follow icons (Redirect website visitors to your Social Media pages)
28
- * Share counts are supported for Facebook, Linkedin, Twitter, Buffer, Reddit, Pinterest, Odnoklassniki and Vkontakte
29
  * FREE **Icon Customization** options
30
  * Options to specify sharing icon shape - Square, Round and Rectangular
31
  * Options to specify sharing icon size - minimum 16 pixels, no upper limit
@@ -124,6 +124,10 @@ 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.14 =
128
  * [Bugfix] Alignment of rectangular social share buttons got worse after previous update
129
  * [New] Added Fintel.io social share icon
@@ -688,4 +692,8 @@ Yes, we can help you with it. Just drop an email at support[at]heateor[dot]com
688
 
689
  = 3.2.14 =
690
  * [Bugfix] Alignment of rectangular social share buttons got worse after previous update
691
- * [New] Added Fintel.io social share icon
 
 
 
 
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.15
8
  License: GPLv2 or later
9
 
10
  Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Google+, Pinterest, WhatsApp and over 100 more.
25
  * Compatible with myCRED (append myCRED referral ID at the end of the url being shared)
26
  * Around **100 Social Sharing/Bookmarking** services
27
  * Social Media follow icons (Redirect website visitors to your Social Media pages)
28
+ * Share counts are supported for Facebook, Linkedin, Twitter, Buffer, Reddit, Pinterest, Odnoklassniki, Fintel and Vkontakte
29
  * FREE **Icon Customization** options
30
  * Options to specify sharing icon shape - Square, Round and Rectangular
31
  * Options to specify sharing icon size - minimum 16 pixels, no upper limit
124
  4. **Universal Sharing Popup**: Universal Sharing popup having all the supported sharing and bookmarking services
125
 
126
  == Changelog ==
127
+ = 3.2.15 =
128
+ * [New] Twitter sharer shows title from "Twitter Title" option of Yoast Premium SEO post meta options, if one is specified
129
+ * [Bugfix] Whatsapp share was not working in some cases with server cache enabled
130
+
131
  = 3.2.14 =
132
  * [Bugfix] Alignment of rectangular social share buttons got worse after previous update
133
  * [New] Added Fintel.io social share icon
692
 
693
  = 3.2.14 =
694
  * [Bugfix] Alignment of rectangular social share buttons got worse after previous update
695
+ * [New] Added Fintel.io social share icon
696
+
697
+ = 3.2.15 =
698
+ * [New] Twitter sharer shows title from "Twitter Title" option of Yoast Premium SEO post meta options, if one is specified
699
+ * [Bugfix] Whatsapp share was not working in some cases with server cache 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.14
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.14' );
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.15
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.15' );
25
  define( 'HEATEOR_SSS_PLUGIN_DIR', plugin_dir_path(__FILE__) );
26
 
27
  // plugin core class object