WordPress Social Sharing Plugin – Sassy Social Share - Version 2.3

Version Description

  • [Bugfix] '&' in post/page title was breaking the subject in email sharing
  • [Bugfix] Pinterest share count was not appearing after updating plugin to version 2.0
  • [Bugfix] "Social Share myCRED Integration" add-on was not logging points for sharing in few cases, when cached counts were being displayed
  • [New] Added option to disable/enable sharing on AMP pages
Download this release

Release Info

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

Code changes from version 2.2 to 2.3

admin/partials/sassy-social-share-options-page.php CHANGED
@@ -1748,6 +1748,31 @@ defined( 'ABSPATH' ) or die("Cheating........Uh!!");
1748
  </div>
1749
  </div>
1750
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1751
  <div class="stuffbox">
1752
  <h3><label><?php _e( 'Custom CSS', 'sassy-social-share' );?></label></h3>
1753
  <div class="inside">
1748
  </div>
1749
  </div>
1750
 
1751
+ <div class="stuffbox">
1752
+ <h3><label><?php _e( 'AMP', 'sassy-social-share' );?></label></h3>
1753
+ <div class="inside">
1754
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table editcomment menu_content_table">
1755
+ <tr>
1756
+ <th>
1757
+ <img id="heateor_sss_amp_enable_help" class="heateor_sss_help_bubble" src="<?php echo plugins_url( '../../images/info.png', __FILE__ ) ?>" />
1758
+ <label for="heateor_sss_amp_enable"><?php _e("Enable sharing on AMP pages", 'sassy-social-share' ); ?></label>
1759
+ </th>
1760
+ <td>
1761
+ <input id="heateor_sss_amp_enable" name="heateor_sss[amp_enable]" type="checkbox" <?php echo isset( $options['amp_enable'] ) ? 'checked = "checked"' : '';?> value="1" />
1762
+ </td>
1763
+ </tr>
1764
+
1765
+ <tr class="heateor_sss_help_content" id="heateor_sss_amp_enable_help_cont">
1766
+ <td colspan="2">
1767
+ <div>
1768
+ <?php _e( 'Enable this option to render sharing icons on AMP pages', 'sassy-social-share' ) ?>
1769
+ </div>
1770
+ </td>
1771
+ </tr>
1772
+ </table>
1773
+ </div>
1774
+ </div>
1775
+
1776
  <div class="stuffbox">
1777
  <h3><label><?php _e( 'Custom CSS', 'sassy-social-share' );?></label></h3>
1778
  <div class="inside">
includes/class-sassy-social-share-sharing-networks.php CHANGED
@@ -38,7 +38,7 @@ class Sassy_Social_Share_Sharing_Networks {
38
  'linkedin' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="heateorSssSharing heateorSss%ucfirst_network%Background" onclick=\'heateorSssPopup("http://www.linkedin.com/shareArticle?mini=true&url=%post_url%&title=%post_title%")\'><ss style="%inner_style%" class="heateorSssSharingSvg heateorSss%ucfirst_network%Svg"></ss></i></li>',
39
  'google_plus' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="heateorSssSharing heateorSss%ucfirst_network%Background" onclick=\'heateorSssPopup("https://plus.google.com/share?url=%post_url%")\'><ss style="%inner_style%" class="heateorSssSharingSvg heateorSss%ucfirst_network%Svg"></ss></i></li>',
40
  'print' => '<li class="%li_class%"><i %style% alt="%title%" Title="Print" class="heateorSssSharing heateorSss%ucfirst_network%Background" onclick=\'window.print()\'><ss style="display:block" class="heateorSssSharingSvg heateorSss%ucfirst_network%Svg"></ss></i></li>',
41
- 'email' => '<li class="%li_class%"><i %style% alt="%title%" Title="Email" class="heateorSssSharing heateorSss%ucfirst_network%Background" %amp_email% onclick="window.location.href = \'mailto:?subject=\' + decodeURIComponent(\'%post_title%\' ) + \'&body=\' + decodeURIComponent(\'%post_url%\' )"><ss style="display:block" class="heateorSssSharingSvg heateorSss%ucfirst_network%Svg"></ss></i></li>',
42
  'yahoo' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="heateorSssSharing heateorSss%ucfirst_network%Background" onclick=\'heateorSssPopup("http://bookmarks.yahoo.com/toolbar/SaveBM/?u=%post_url%&t=%post_title%")\'><ss style="%inner_style%" class="heateorSssSharingSvg heateorSss%ucfirst_network%Svg"></ss></i></li>',
43
  'reddit' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="heateorSssSharing heateorSss%ucfirst_network%Background" onclick=\'heateorSssPopup("http://reddit.com/submit?url=%post_url%&title=%post_title%")\'><ss style="%inner_style%" class="heateorSssSharingSvg heateorSss%ucfirst_network%Svg"></ss></i></li>',
44
  'digg' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="heateorSssSharing heateorSss%ucfirst_network%Background" onclick=\'heateorSssPopup("http://digg.com/submit?url=%post_url%&title=%post_title%")\'><ss style="%inner_style%" class="heateorSssSharingSvg heateorSss%ucfirst_network%Svg"></ss></i></li>',
38
  'linkedin' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="heateorSssSharing heateorSss%ucfirst_network%Background" onclick=\'heateorSssPopup("http://www.linkedin.com/shareArticle?mini=true&url=%post_url%&title=%post_title%")\'><ss style="%inner_style%" class="heateorSssSharingSvg heateorSss%ucfirst_network%Svg"></ss></i></li>',
39
  'google_plus' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="heateorSssSharing heateorSss%ucfirst_network%Background" onclick=\'heateorSssPopup("https://plus.google.com/share?url=%post_url%")\'><ss style="%inner_style%" class="heateorSssSharingSvg heateorSss%ucfirst_network%Svg"></ss></i></li>',
40
  'print' => '<li class="%li_class%"><i %style% alt="%title%" Title="Print" class="heateorSssSharing heateorSss%ucfirst_network%Background" onclick=\'window.print()\'><ss style="display:block" class="heateorSssSharingSvg heateorSss%ucfirst_network%Svg"></ss></i></li>',
41
+ 'email' => '<li class="%li_class%"><i %style% alt="%title%" Title="Email" class="heateorSssSharing heateorSss%ucfirst_network%Background" %amp_email% onclick="window.location.href = \'mailto:?subject=\' + decodeURIComponent(\'%post_title%\' ).replace(\'&\', \'%26\') + \'&body=\' + decodeURIComponent(\'%post_url%\' )"><ss style="display:block" class="heateorSssSharingSvg heateorSss%ucfirst_network%Svg"></ss></i></li>',
42
  'yahoo' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="heateorSssSharing heateorSss%ucfirst_network%Background" onclick=\'heateorSssPopup("http://bookmarks.yahoo.com/toolbar/SaveBM/?u=%post_url%&t=%post_title%")\'><ss style="%inner_style%" class="heateorSssSharingSvg heateorSss%ucfirst_network%Svg"></ss></i></li>',
43
  'reddit' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="heateorSssSharing heateorSss%ucfirst_network%Background" onclick=\'heateorSssPopup("http://reddit.com/submit?url=%post_url%&title=%post_title%")\'><ss style="%inner_style%" class="heateorSssSharingSvg heateorSss%ucfirst_network%Svg"></ss></i></li>',
44
  'digg' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="heateorSssSharing heateorSss%ucfirst_network%Background" onclick=\'heateorSssPopup("http://digg.com/submit?url=%post_url%&title=%post_title%")\'><ss style="%inner_style%" class="heateorSssSharingSvg heateorSss%ucfirst_network%Svg"></ss></i></li>',
public/class-sassy-social-share-public.php CHANGED
@@ -80,16 +80,19 @@ class Sassy_Social_Share_Public {
80
 
81
  // Javascript for front-end of website
82
  add_action( 'wp_enqueue_scripts', array( $this, 'frontend_scripts' ) );
83
- // Javascript for AMP pages
84
- add_action( 'amp_post_template_head', array( $this, 'frontend_scripts' ) );
85
  // inline style for front-end of website
86
  add_action( 'wp_enqueue_scripts', array( $this, 'frontend_inline_style' ) );
87
- // inline style for AMP pages
88
- add_action( 'amp_post_template_css', array( $this, 'frontend_inline_style' ) );
89
  // stylesheet files for front-end of website
90
  add_action( 'wp_enqueue_scripts', array( $this, 'frontend_css' ) );
91
- // stylesheet files for AMP pages
92
- add_action( 'amp_post_template_css', array( $this, 'frontend_amp_css' ) );
 
 
 
 
 
 
 
93
 
94
  }
95
 
@@ -156,6 +159,7 @@ class Sassy_Social_Share_Public {
156
  $post_title = esc_html( $post_title );
157
  ?>
158
  <script type="text/javascript">
 
159
  heateorSssLoadEvent(
160
  function(){
161
  var moreIcons = document.getElementsByClassName("heateorSssMoreBackground");
@@ -1104,6 +1108,11 @@ class Sassy_Social_Share_Public {
1104
  */
1105
  public function render_sharing( $content ) {
1106
 
 
 
 
 
 
1107
  global $post;
1108
  // hook to bypass sharing
1109
  $disable_sharing = apply_filters( 'heateor_sss_disable_sharing', $post, $content );
@@ -1161,7 +1170,7 @@ class Sassy_Social_Share_Public {
1161
  $sharing_title_style = 'style="font-weight: bold;list-style: none;position: relative;left: 50%;"';
1162
  }
1163
 
1164
- $horizontal_div = "<div class='heateorSssClear'></div><div ". $sharing_container_style ." class='heateor_sss_sharing_container heateor_sss_horizontal_sharing' " . ( ( $this->get_cached_share_count( $this->share_count_transient_id ) !== false || $this->is_amp_page() ) ? '' : "heateor-sss-data-href='" . $post_url . "'" ) . "><div class='heateor_sss_sharing_title' " . $sharing_title_style . " >" . ucfirst( $this->options['title'] ) . "</div>" . $sharing_div . "</div><div class='heateorSssClear'></div>";
1165
  if ( $sharing_bp_activity ) {
1166
  echo $horizontal_div;
1167
  }
@@ -1223,7 +1232,7 @@ class Sassy_Social_Share_Public {
1223
  $this->share_count_transient_id = $this->get_share_count_transient_id( $post_url );
1224
  $sharing_div = $this->prepare_sharing_html( $sharing_url ? $sharing_url : $post_url, 'vertical', isset( $this->options['vertical_counts'] ), isset( $this->options['vertical_total_shares'] ) );
1225
  $offset = ( $this->options['alignment'] != '' && $this->options[$this->options['alignment'].'_offset'] != '' ? $this->options['alignment'] . ': ' . $this->options[$this->options['alignment'].'_offset'] . 'px;' : '' ) . ( $this->options['top_offset'] != '' ? 'top: '.$this->options['top_offset'] . 'px;' : '' );
1226
- $vertical_div = "<div class='heateor_sss_sharing_container heateor_sss_vertical_sharing" . ( isset( $this->options['bottom_mobile_sharing'] ) ? ' heateor_sss_bottom_sharing' : '' ) . "' style='width:" . ( $vertical_sharing_width + 4 ) . "px;" . $offset . ( $this->options['vertical_bg'] != '' ? 'background-color: '.$this->options['vertical_bg'] : '-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;' ) . "' " . ( ( $this->get_cached_share_count( $this->share_count_transient_id ) !== false || $this->is_amp_page() ) ? '' : "heateor-sss-data-href='" . $post_url . "'" ) . ">" . $sharing_div . "</div>";
1227
  // show vertical sharing
1228
  if ( ( isset( $this->options['vertical_home'] ) && is_front_page() ) || ( isset( $this->options['vertical_category'] ) && is_category() ) || ( isset( $this->options['vertical_archive'] ) && is_archive() ) || ( isset( $this->options['vertical_post'] ) && is_single() && isset( $post -> post_type ) && $post -> post_type == 'post' ) || ( isset( $this->options['vertical_page'] ) && is_page() && isset( $post -> post_type ) && $post -> post_type == 'page' ) || ( isset( $this->options['vertical_excerpt'] ) && (is_home() || current_filter() == 'the_excerpt' ) ) || ( isset( $this->options['vertical_bb_forum'] ) && current_filter() == 'bbp_template_before_single_forum' ) || ( isset( $this->options['vertical_bb_topic'] ) && in_array( current_filter(), array( 'bbp_template_before_single_topic', 'bbp_template_before_lead_topic' ) ) ) || (current_filter() == 'bp_before_group_header' && isset( $this->options['vertical_bp_group'] ) ) ) {
1229
  if ( in_array( current_filter(), array( 'bbp_template_before_single_topic', 'bbp_template_before_lead_topic', 'bbp_template_before_single_forum', 'bp_before_group_header' ) ) ) {
@@ -1242,7 +1251,7 @@ class Sassy_Social_Share_Public {
1242
  // share count transient ID
1243
  $this->share_count_transient_id = 0;
1244
  $sharing_div = $this->prepare_sharing_html( $sharing_url ? $sharing_url : $post_url, 'vertical', isset( $this->options['vertical_counts'] ), isset( $this->options['vertical_total_shares'] ) );
1245
- $vertical_div = "<div class='heateor_sss_sharing_container heateor_sss_vertical_sharing" . ( isset( $this->options['bottom_mobile_sharing'] ) ? ' heateor_sss_bottom_sharing' : '' ) . "' style='width:" . ( $vertical_sharing_width + 4 ) . "px;" . $offset . ( $this->options['vertical_bg'] != '' ? 'background-color: ' . $this->options['vertical_bg'] : '-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;' ) . "' " . ( ( $this->get_cached_share_count( 0 ) !== false || $this->is_amp_page() ) ? '' : "heateor-sss-data-href='" . $post_url . "'" ) . ">" . $sharing_div . "</div>";
1246
  }
1247
  $content = $content . $vertical_div;
1248
  if ( current_filter() == 'the_content' ) {
@@ -1381,7 +1390,7 @@ class Sassy_Social_Share_Public {
1381
  if ( ! is_wp_error( $response ) && isset( $response['response']['code'] ) && 200 === $response['response']['code'] ) {
1382
  $body = wp_remote_retrieve_body( $response );
1383
  if ( $provider == 'pinterest' ) {
1384
- $body = str_replace( array( 'heateorSss( ', ' )' ), '', $body );
1385
  }
1386
  if ( ! in_array( $provider, array( 'google_plus', 'vkontakte' ) ) ) {
1387
  $body = json_decode( $body );
@@ -1766,6 +1775,11 @@ class Sassy_Social_Share_Public {
1766
  update_option( 'heateor_sss', $this->options );
1767
  }
1768
 
 
 
 
 
 
1769
  // update plugin version in database
1770
  update_option( 'heateor_sss_version', $this->version );
1771
  }
80
 
81
  // Javascript for front-end of website
82
  add_action( 'wp_enqueue_scripts', array( $this, 'frontend_scripts' ) );
 
 
83
  // inline style for front-end of website
84
  add_action( 'wp_enqueue_scripts', array( $this, 'frontend_inline_style' ) );
 
 
85
  // stylesheet files for front-end of website
86
  add_action( 'wp_enqueue_scripts', array( $this, 'frontend_css' ) );
87
+
88
+ if ( isset( $this->options['amp_enable'] ) ) {
89
+ // Javascript for AMP pages
90
+ add_action( 'amp_post_template_head', array( $this, 'frontend_scripts' ) );
91
+ // inline style for AMP pages
92
+ add_action( 'amp_post_template_css', array( $this, 'frontend_inline_style' ) );
93
+ // stylesheet files for AMP pages
94
+ add_action( 'amp_post_template_css', array( $this, 'frontend_amp_css' ) );
95
+ }
96
 
97
  }
98
 
159
  $post_title = esc_html( $post_title );
160
  ?>
161
  <script type="text/javascript">
162
+ var heateorSssAmpTargetUrl = '<?php echo $post_url ?>';
163
  heateorSssLoadEvent(
164
  function(){
165
  var moreIcons = document.getElementsByClassName("heateorSssMoreBackground");
1108
  */
1109
  public function render_sharing( $content ) {
1110
 
1111
+ // if sharing is disabled on AMP, return content as is
1112
+ if ( ! isset( $this->options['amp_enable'] ) && $this->is_amp_page() ) {
1113
+ return $content;
1114
+ }
1115
+
1116
  global $post;
1117
  // hook to bypass sharing
1118
  $disable_sharing = apply_filters( 'heateor_sss_disable_sharing', $post, $content );
1170
  $sharing_title_style = 'style="font-weight: bold;list-style: none;position: relative;left: 50%;"';
1171
  }
1172
 
1173
+ $horizontal_div = "<div class='heateorSssClear'></div><div ". $sharing_container_style ." class='heateor_sss_sharing_container heateor_sss_horizontal_sharing' heateor-sss-data-href='" . $post_url . "'" . ( ( $this->get_cached_share_count( $this->share_count_transient_id ) !== false || $this->is_amp_page() ) ? 'heateor-sss-no-counts="1"' : "" ) . "><div class='heateor_sss_sharing_title' " . $sharing_title_style . " >" . ucfirst( $this->options['title'] ) . "</div>" . $sharing_div . "</div><div class='heateorSssClear'></div>";
1174
  if ( $sharing_bp_activity ) {
1175
  echo $horizontal_div;
1176
  }
1232
  $this->share_count_transient_id = $this->get_share_count_transient_id( $post_url );
1233
  $sharing_div = $this->prepare_sharing_html( $sharing_url ? $sharing_url : $post_url, 'vertical', isset( $this->options['vertical_counts'] ), isset( $this->options['vertical_total_shares'] ) );
1234
  $offset = ( $this->options['alignment'] != '' && $this->options[$this->options['alignment'].'_offset'] != '' ? $this->options['alignment'] . ': ' . $this->options[$this->options['alignment'].'_offset'] . 'px;' : '' ) . ( $this->options['top_offset'] != '' ? 'top: '.$this->options['top_offset'] . 'px;' : '' );
1235
+ $vertical_div = "<div class='heateor_sss_sharing_container heateor_sss_vertical_sharing" . ( isset( $this->options['bottom_mobile_sharing'] ) ? ' heateor_sss_bottom_sharing' : '' ) . "' style='width:" . ( $vertical_sharing_width + 4 ) . "px;" . $offset . ( $this->options['vertical_bg'] != '' ? 'background-color: '.$this->options['vertical_bg'] : '-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;' ) . "' heateor-sss-data-href='" . $post_url . "'" . ( ( $this->get_cached_share_count( $this->share_count_transient_id ) !== false || $this->is_amp_page() ) ? 'heateor-sss-no-counts="1"' : "" ) . ">" . $sharing_div . "</div>";
1236
  // show vertical sharing
1237
  if ( ( isset( $this->options['vertical_home'] ) && is_front_page() ) || ( isset( $this->options['vertical_category'] ) && is_category() ) || ( isset( $this->options['vertical_archive'] ) && is_archive() ) || ( isset( $this->options['vertical_post'] ) && is_single() && isset( $post -> post_type ) && $post -> post_type == 'post' ) || ( isset( $this->options['vertical_page'] ) && is_page() && isset( $post -> post_type ) && $post -> post_type == 'page' ) || ( isset( $this->options['vertical_excerpt'] ) && (is_home() || current_filter() == 'the_excerpt' ) ) || ( isset( $this->options['vertical_bb_forum'] ) && current_filter() == 'bbp_template_before_single_forum' ) || ( isset( $this->options['vertical_bb_topic'] ) && in_array( current_filter(), array( 'bbp_template_before_single_topic', 'bbp_template_before_lead_topic' ) ) ) || (current_filter() == 'bp_before_group_header' && isset( $this->options['vertical_bp_group'] ) ) ) {
1238
  if ( in_array( current_filter(), array( 'bbp_template_before_single_topic', 'bbp_template_before_lead_topic', 'bbp_template_before_single_forum', 'bp_before_group_header' ) ) ) {
1251
  // share count transient ID
1252
  $this->share_count_transient_id = 0;
1253
  $sharing_div = $this->prepare_sharing_html( $sharing_url ? $sharing_url : $post_url, 'vertical', isset( $this->options['vertical_counts'] ), isset( $this->options['vertical_total_shares'] ) );
1254
+ $vertical_div = "<div class='heateor_sss_sharing_container heateor_sss_vertical_sharing" . ( isset( $this->options['bottom_mobile_sharing'] ) ? ' heateor_sss_bottom_sharing' : '' ) . "' style='width:" . ( $vertical_sharing_width + 4 ) . "px;" . $offset . ( $this->options['vertical_bg'] != '' ? 'background-color: ' . $this->options['vertical_bg'] : '-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;' ) . "' heateor-sss-data-href='" . $post_url . "'" . ( ( $this->get_cached_share_count( 0 ) !== false || $this->is_amp_page() ) ? 'heateor-sss-no-counts="1"' : '' ) . ">" . $sharing_div . "</div>";
1255
  }
1256
  $content = $content . $vertical_div;
1257
  if ( current_filter() == 'the_content' ) {
1390
  if ( ! is_wp_error( $response ) && isset( $response['response']['code'] ) && 200 === $response['response']['code'] ) {
1391
  $body = wp_remote_retrieve_body( $response );
1392
  if ( $provider == 'pinterest' ) {
1393
+ $body = str_replace( array( 'heateorSss(', ')' ), '', $body );
1394
  }
1395
  if ( ! in_array( $provider, array( 'google_plus', 'vkontakte' ) ) ) {
1396
  $body = json_decode( $body );
1775
  update_option( 'heateor_sss', $this->options );
1776
  }
1777
 
1778
+ if ( version_compare( '2.3', $current_version ) > 0 ) {
1779
+ $this->options['amp_enable'] = '1';
1780
+ update_option( 'heateor_sss', $this->options );
1781
+ }
1782
+
1783
  // update plugin version in database
1784
  update_option( 'heateor_sss_version', $this->version );
1785
  }
public/js/sassy-social-share-public.js CHANGED
@@ -540,10 +540,12 @@ function heateorSssFilterSharing(val) {
540
  function heateorSssGetSharingCounts(){
541
  var targetUrls = [];
542
  jQuery('.heateor_sss_sharing_container').each(function(){
543
- var currentTargetUrl = jQuery(this).attr('heateor-sss-data-href');
544
- if(currentTargetUrl != null && jQuery.inArray(currentTargetUrl, heateorSssUrlCountFetched) == -1){
545
- targetUrls.push(currentTargetUrl);
546
- heateorSssUrlCountFetched.push(currentTargetUrl);
 
 
547
  }
548
  });
549
  if(targetUrls.length == 0){
540
  function heateorSssGetSharingCounts(){
541
  var targetUrls = [];
542
  jQuery('.heateor_sss_sharing_container').each(function(){
543
+ if(typeof jQuery(this).attr('heateor-sss-no-counts') == 'undefined'){
544
+ var currentTargetUrl = jQuery(this).attr('heateor-sss-data-href');
545
+ if(currentTargetUrl != null && jQuery.inArray(currentTargetUrl, heateorSssUrlCountFetched) == -1){
546
+ targetUrls.push(currentTargetUrl);
547
+ heateorSssUrlCountFetched.push(currentTargetUrl);
548
+ }
549
  }
550
  });
551
  if(targetUrls.length == 0){
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: Heateor
3
  Donate link: https://www.heateor.com/donate/?action=Sassy+Social+Share
4
  Tags: social share, social sharing, social plugin, social media plugin, social media share, social media share, share facebook, facebook social share, wordpress social share, share buttons, social share buttons, social buttons, share wordpress, wordpress plugin share, share social plugin, facebook like, twitter tweet, google plus one, google +1, google plus share, googleplus share, googleplus one, social bookmark, bookmark, bookmarking, social bookmarking, social bookmarks, responsive share buttons, responsive sharing, mobile share buttons, mobile sharing
5
  Requires at least: 2.5.0
6
- Tested up to: 4.4.2
7
- Stable tag: 2.2
8
  License: GPLv2 or later
9
 
10
  Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Google+, Pinterest, WhatsApp and over 100 more.
@@ -115,6 +115,12 @@ Yes, we can help you with it. Just drop an email at support[at]heateor[dot]com
115
  4. **Universal Sharing Popup**: Universal Sharing popup having all the supported sharing and bookmarking services
116
 
117
  == Changelog ==
 
 
 
 
 
 
118
  = 2.2 =
119
  * [Bugfix] Pinterest share button was not working after updating to previous version
120
 
@@ -237,4 +243,10 @@ Yes, we can help you with it. Just drop an email at support[at]heateor[dot]com
237
  * [Improvement] Fixed AMP validation errors (thanks @nfabiox85 :) )
238
 
239
  = 2.2 =
240
- * [Bugfix] Pinterest share button was not working after updating to previous version
 
 
 
 
 
 
3
  Donate link: https://www.heateor.com/donate/?action=Sassy+Social+Share
4
  Tags: social share, social sharing, social plugin, social media plugin, social media share, social media share, share facebook, facebook social share, wordpress social share, share buttons, social share buttons, social buttons, share wordpress, wordpress plugin share, share social plugin, facebook like, twitter tweet, google plus one, google +1, google plus share, googleplus share, googleplus one, social bookmark, bookmark, bookmarking, social bookmarking, social bookmarks, responsive share buttons, responsive sharing, mobile share buttons, mobile sharing
5
  Requires at least: 2.5.0
6
+ Tested up to: 4.5.2
7
+ Stable tag: 2.3
8
  License: GPLv2 or later
9
 
10
  Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Google+, Pinterest, WhatsApp and over 100 more.
115
  4. **Universal Sharing Popup**: Universal Sharing popup having all the supported sharing and bookmarking services
116
 
117
  == Changelog ==
118
+ = 2.3 =
119
+ * [Bugfix] '&' in post/page title was breaking the subject in email sharing
120
+ * [Bugfix] Pinterest share count was not appearing after updating plugin to version 2.0
121
+ * [Bugfix] "Social Share myCRED Integration" add-on was not logging points for sharing in few cases, when cached counts were being displayed
122
+ * [New] Added option to disable/enable sharing on AMP pages
123
+
124
  = 2.2 =
125
  * [Bugfix] Pinterest share button was not working after updating to previous version
126
 
243
  * [Improvement] Fixed AMP validation errors (thanks @nfabiox85 :) )
244
 
245
  = 2.2 =
246
+ * [Bugfix] Pinterest share button was not working after updating to previous version
247
+
248
+ = 2.3 =
249
+ * [Bugfix] '&' in post/page title was breaking the subject in email sharing
250
+ * [Bugfix] Pinterest share count was not appearing after updating plugin to version 2.0
251
+ * [Bugfix] "Social Share myCRED Integration" add-on was not logging points for sharing in few cases, when cached counts were being displayed
252
+ * [New] Added option to disable/enable sharing on AMP pages
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: 2.2
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', '2.2' );
25
  define( 'HEATEOR_SSS_PLUGIN_DIR', plugin_dir_path(__FILE__) );
26
 
27
  // plugin core class object
@@ -120,7 +120,8 @@ function heateor_sss_default_options() {
120
  'twitter_username' => '',
121
  'buffer_username' => '',
122
  'custom_css' => '',
123
- 'tweet_count_service' => 'newsharecounts'
 
124
  ) );
125
 
126
  // plugin version
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: 2.3
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', '2.3' );
25
  define( 'HEATEOR_SSS_PLUGIN_DIR', plugin_dir_path(__FILE__) );
26
 
27
  // plugin core class object
120
  'twitter_username' => '',
121
  'buffer_username' => '',
122
  'custom_css' => '',
123
+ 'tweet_count_service' => 'newsharecounts',
124
+ 'amp_enable' => '1'
125
  ) );
126
 
127
  // plugin version