WordPress Social Sharing Plugin – Sassy Social Share - Version 3.3.33

Version Description

[23 November 2021] = * [Bugfix] Social share widet, Social Media follow widget and social share icons at BuddyPress pages were causing fatal errors after previous update

Download this release

Release Info

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

Code changes from version 3.3.32 to 3.3.33

includes/class-sassy-social-share-widgets.php CHANGED
@@ -148,7 +148,7 @@ class Sassy_Social_Share_Standard_Widget extends WP_Widget {
148
  $title = apply_filters( 'widget_title', $instance[ 'title' ] );
149
  echo $before_title . $title . $after_title;
150
  }
151
- echo wp_kses( $sharing_div );
152
  echo '</div>';
153
  }
154
  }
@@ -652,7 +652,7 @@ class Sassy_Social_Share_Follow_Widget extends WP_Widget {
652
  } elseif ( $instance['custom_color'] == 'floating' ) {
653
  $check_theme = 'floating_';
654
  }
655
- echo wp_kses( '<div ' . ( $instance['type'] == 'floating' ? 'style="position:fixed;top:' . intval( $instance['top_offset'] ) . 'px;' . ( $instance['alignment'] == 'left' ? 'left' : 'right' ) . ':' . intval( $instance['alignment_value'] ) . 'px;width:' . intval( $instance['size'] ) . 'px;"' : '' ) . 'class="heateor_sss_' . $check_theme . 'follow_icons_container' . ( isset( $instance['bottom_mobile_sharing'] ) ? ' heateor_sss_bottom_follow' : '' ) . '">' );
656
 
657
  if ( ! empty( $instance['title'] ) ) {
658
  $title = apply_filters( 'widget_title', $instance[ 'title' ] );
148
  $title = apply_filters( 'widget_title', $instance[ 'title' ] );
149
  echo $before_title . $title . $after_title;
150
  }
151
+ echo $sharing_div;
152
  echo '</div>';
153
  }
154
  }
652
  } elseif ( $instance['custom_color'] == 'floating' ) {
653
  $check_theme = 'floating_';
654
  }
655
+ echo '<div ' . ( $instance['type'] == 'floating' ? 'style="position:fixed;top:' . intval( $instance['top_offset'] ) . 'px;' . ( $instance['alignment'] == 'left' ? 'left' : 'right' ) . ':' . intval( $instance['alignment_value'] ) . 'px;width:' . intval( $instance['size'] ) . 'px;"' : '' ) . 'class="heateor_sss_' . $check_theme . 'follow_icons_container' . ( isset( $instance['bottom_mobile_sharing'] ) ? ' heateor_sss_bottom_follow' : '' ) . '">';
656
 
657
  if ( ! empty( $instance['title'] ) ) {
658
  $title = apply_filters( 'widget_title', $instance[ 'title' ] );
public/class-sassy-social-share-public.php CHANGED
@@ -753,7 +753,7 @@ class Sassy_Social_Share_Public {
753
 
754
  $horizontal_div = "<div class='heateorSssClear'></div><div " . $sharing_container_style . " class='heateor_sss_sharing_container heateor_sss_horizontal_sharing' " . ( $this->is_amp_page() ? "" : "data-heateor-sss-href='" . esc_url( isset( $share_count_url ) && $share_count_url ? $share_count_url : $post_url ) . "'" ) . ( ( $this->get_cached_share_count( $this->share_count_transient_id ) === false || $this->is_amp_page() ) ? '' : ' data-heateor-sss-no-counts="1"' ) . "><div class='heateor_sss_sharing_title' " . $sharing_title_style . " >" . esc_html( ucfirst( get_option( 'heateor_sss' )['title'] ) ) . "</div>" . $sharing_div . "</div><div class='heateorSssClear'></div>";
755
  if ( $sharing_bp_activity ) {
756
- echo wp_kses( $horizontal_div );
757
  }
758
  // show horizontal sharing
759
  if ( ( isset( $this->options['home'] ) && is_front_page() ) || ( isset( $this->options['category'] ) && is_category() ) || ( isset( $this->options['archive'] ) && is_archive() ) || ( isset( $this->options['post'] ) && is_single() && isset( $post->post_type ) && $post->post_type == 'post' ) || ( isset( $this->options['page'] ) && is_page() && isset( $post->post_type ) && $post->post_type == 'page' ) || ( isset( $this->options['excerpt'] ) && (is_home() || current_filter() == 'the_excerpt' ) ) || ( isset( $this->options['bb_reply'] ) && current_filter() == 'bbp_get_reply_content' ) || ( isset( $this->options['bb_forum'] ) && ( isset( $this->options['top'] ) && current_filter() == 'bbp_template_before_single_forum' || isset( $this->options['bottom'] ) && current_filter() == 'bbp_template_after_single_forum' ) ) || ( isset( $this->options['bb_topic'] ) && ( isset( $this->options['top'] ) && in_array( current_filter(), array( 'bbp_template_before_single_topic', 'bbp_template_before_lead_topic' ) ) || isset( $this->options['bottom'] ) && in_array( current_filter(), array( 'bbp_template_after_single_topic', 'bbp_template_after_lead_topic' ) ) ) ) || ( isset( $this->options['woocom_shop'] ) && current_filter() == 'woocommerce_after_shop_loop_item' ) || ( isset( $this->options['woocom_product'] ) && current_filter() == 'woocommerce_share' ) || ( isset( $this->options['woocom_thankyou'] ) && current_filter() == 'woocommerce_thankyou' ) || (current_filter() == 'bp_before_group_header' && isset( $this->options['bp_group'] ) ) ) {
@@ -833,7 +833,7 @@ class Sassy_Social_Share_Public {
833
  // show vertical sharing
834
  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'] ) ) ) {
835
  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' ) ) ) {
836
- echo wp_kses( $vertical_div );
837
  } else {
838
  if ( is_front_page() ) {
839
  if ( current_filter() == 'the_content' ) {
753
 
754
  $horizontal_div = "<div class='heateorSssClear'></div><div " . $sharing_container_style . " class='heateor_sss_sharing_container heateor_sss_horizontal_sharing' " . ( $this->is_amp_page() ? "" : "data-heateor-sss-href='" . esc_url( isset( $share_count_url ) && $share_count_url ? $share_count_url : $post_url ) . "'" ) . ( ( $this->get_cached_share_count( $this->share_count_transient_id ) === false || $this->is_amp_page() ) ? '' : ' data-heateor-sss-no-counts="1"' ) . "><div class='heateor_sss_sharing_title' " . $sharing_title_style . " >" . esc_html( ucfirst( get_option( 'heateor_sss' )['title'] ) ) . "</div>" . $sharing_div . "</div><div class='heateorSssClear'></div>";
755
  if ( $sharing_bp_activity ) {
756
+ echo $horizontal_div;
757
  }
758
  // show horizontal sharing
759
  if ( ( isset( $this->options['home'] ) && is_front_page() ) || ( isset( $this->options['category'] ) && is_category() ) || ( isset( $this->options['archive'] ) && is_archive() ) || ( isset( $this->options['post'] ) && is_single() && isset( $post->post_type ) && $post->post_type == 'post' ) || ( isset( $this->options['page'] ) && is_page() && isset( $post->post_type ) && $post->post_type == 'page' ) || ( isset( $this->options['excerpt'] ) && (is_home() || current_filter() == 'the_excerpt' ) ) || ( isset( $this->options['bb_reply'] ) && current_filter() == 'bbp_get_reply_content' ) || ( isset( $this->options['bb_forum'] ) && ( isset( $this->options['top'] ) && current_filter() == 'bbp_template_before_single_forum' || isset( $this->options['bottom'] ) && current_filter() == 'bbp_template_after_single_forum' ) ) || ( isset( $this->options['bb_topic'] ) && ( isset( $this->options['top'] ) && in_array( current_filter(), array( 'bbp_template_before_single_topic', 'bbp_template_before_lead_topic' ) ) || isset( $this->options['bottom'] ) && in_array( current_filter(), array( 'bbp_template_after_single_topic', 'bbp_template_after_lead_topic' ) ) ) ) || ( isset( $this->options['woocom_shop'] ) && current_filter() == 'woocommerce_after_shop_loop_item' ) || ( isset( $this->options['woocom_product'] ) && current_filter() == 'woocommerce_share' ) || ( isset( $this->options['woocom_thankyou'] ) && current_filter() == 'woocommerce_thankyou' ) || (current_filter() == 'bp_before_group_header' && isset( $this->options['bp_group'] ) ) ) {
833
  // show vertical sharing
834
  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'] ) ) ) {
835
  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' ) ) ) {
836
+ echo $vertical_div;
837
  } else {
838
  if ( is_front_page() ) {
839
  if ( current_filter() == 'the_content' ) {
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, whatsapp share, line share, gab share, gab, parler share, gettr, gettr share, mewe share, mewe
5
  Requires at least: 2.5.0
6
  Tested up to: 5.8.2
7
- Stable tag: 3.3.32
8
  License: GPLv2 or later
9
 
10
  Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Reddit, Pinterest, Whatsapp, Parler, Gab, Gettr and over 100 more.
@@ -123,6 +123,9 @@ Yes, we can help you with it. Just drop an email at support[at]heateor[dot]com
123
  4. **Universal Sharing Popup**: Universal Sharing popup having all the supported sharing and bookmarking services
124
 
125
  == Changelog ==
 
 
 
126
  = 3.3.32 [23 November 2021] =
127
  * [Improvement] Code improvement
128
  * [Improvement] Removed unnecessary CSS from the public.css file
@@ -1115,4 +1118,7 @@ Yes, we can help you with it. Just drop an email at support[at]heateor[dot]com
1115
  = 3.3.32 [23 November 2021] =
1116
  * [Improvement] Code improvement
1117
  * [Improvement] Removed unnecessary CSS from the public.css file
1118
- * [Improvement] Admin UI improvements
 
 
 
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, whatsapp share, line share, gab share, gab, parler share, gettr, gettr share, mewe share, mewe
5
  Requires at least: 2.5.0
6
  Tested up to: 5.8.2
7
+ Stable tag: 3.3.33
8
  License: GPLv2 or later
9
 
10
  Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Reddit, Pinterest, Whatsapp, Parler, Gab, Gettr and over 100 more.
123
  4. **Universal Sharing Popup**: Universal Sharing popup having all the supported sharing and bookmarking services
124
 
125
  == Changelog ==
126
+ = 3.3.33 [23 November 2021] =
127
+ * [Bugfix] Social share widet, Social Media follow widget and social share icons at BuddyPress pages were causing fatal errors after previous update
128
+
129
  = 3.3.32 [23 November 2021] =
130
  * [Improvement] Code improvement
131
  * [Improvement] Removed unnecessary CSS from the public.css file
1118
  = 3.3.32 [23 November 2021] =
1119
  * [Improvement] Code improvement
1120
  * [Improvement] Removed unnecessary CSS from the public.css file
1121
+ * [Improvement] Admin UI improvements
1122
+
1123
+ = 3.3.33 [23 November 2021] =
1124
+ * [Bugfix] Social share widet, Social Media follow widget and social share icons at BuddyPress pages were causing fatal errors after previous update
sassy-social-share.php CHANGED
@@ -6,7 +6,7 @@
6
  * Plugin Name: Sassy Social Share
7
  * Plugin URI: https://www.heateor.com
8
  * Description: Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Reddit, Pinterest, WhatsApp and over 100 more
9
- * Version: 3.3.32
10
  * Author: Team Heateor
11
  * Author URI: https://www.heateor.com
12
  * Text Domain: sassy-social-share
@@ -20,7 +20,7 @@ if ( ! defined( 'WPINC' ) ) {
20
  die;
21
  }
22
 
23
- define( 'HEATEOR_SSS_VERSION', '3.3.32' );
24
  define( 'HEATEOR_SSS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
25
 
26
  // plugin core class object
6
  * Plugin Name: Sassy Social Share
7
  * Plugin URI: https://www.heateor.com
8
  * Description: Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Reddit, Pinterest, WhatsApp and over 100 more
9
+ * Version: 3.3.33
10
  * Author: Team Heateor
11
  * Author URI: https://www.heateor.com
12
  * Text Domain: sassy-social-share
20
  die;
21
  }
22
 
23
+ define( 'HEATEOR_SSS_VERSION', '3.3.33' );
24
  define( 'HEATEOR_SSS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
25
 
26
  // plugin core class object