WordPress Social Sharing Plugin – Sassy Social Share - Version 3.2.28

Version Description

[3 September 2019] = * [Bugfix] Social share icons were not working with standard and transitional AMP modes

Download this release

Release Info

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

Code changes from version 3.2.27 to 3.2.28

public/class-sassy-social-share-public.php CHANGED
@@ -72,7 +72,7 @@ class Sassy_Social_Share_Public {
72
  }
73
 
74
  /**
75
- * Hook the plugin function on 'init' event.
76
  *
77
  * @since 1.0.0
78
  */
@@ -85,23 +85,15 @@ class Sassy_Social_Share_Public {
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
- $amp_options = array();
90
- if ( class_exists( 'AMP_Options_Manager' ) && null !== AMP_Options_Manager::OPTION_NAME ) {
91
- $amp_options = get_option( AMP_Options_Manager::OPTION_NAME );
92
- if ( isset( $amp_options['theme_support'] ) && ( $amp_options['theme_support'] == 'paired' || $amp_options['theme_support'] == 'native' ) ) {
93
- add_action( 'wp_print_styles', array( $this, 'frontend_amp_css' ) );
94
- } else {
95
- // stylesheet files for AMP pages
96
- add_action( 'amp_post_template_css', array( $this, 'frontend_amp_css' ) );
97
- }
98
- }
99
  }
100
 
101
  }
102
 
103
  /**
104
- * Javascript files to load at front end.
105
  *
106
  * @since 1.0.0
107
  */
72
  }
73
 
74
  /**
75
+ * Hook the plugin function on 'init' event
76
  *
77
  * @since 1.0.0
78
  */
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'] ) && function_exists( 'is_amp_endpoint' ) ) {
89
+ add_action( 'wp_print_styles', array( $this, 'frontend_amp_css' ) );
90
+ add_action( 'amp_post_template_css', array( $this, 'frontend_amp_css' ) );
 
 
 
 
 
 
 
 
91
  }
92
 
93
  }
94
 
95
  /**
96
+ * Javascript files to load at front end
97
  *
98
  * @since 1.0.0
99
  */
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
5
  Requires at least: 2.5.0
6
  Tested up to: 5.2.2
7
- Stable tag: 3.2.27
8
  License: GPLv2 or later
9
 
10
  Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Reddit, Pinterest, WhatsApp and over 100 more.
@@ -123,8 +123,10 @@ 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.2.27 [13 August 2019] =
127
  * [Bugfix] Social share icons were not working with standard and transitional AMP modes
 
 
128
  * [Bugfix] Fixed a PHP warning appearing at plugin options page in some cases
129
  * [Improvement] Assigned class "heateor_sss_sharing_title" to the title appearing above the social share icons rendered via shortcode
130
 
@@ -795,6 +797,8 @@ Yes, we can help you with it. Just drop an email at support[at]heateor[dot]com
795
  * [Bugfix] Updated the background color for Reddit share icon for AMP according to the Reddit branding guidelines
796
 
797
  = 3.2.27 [13 August 2019] =
798
- * [Bugfix] Social share icons were not working with standard and transitional AMP modes
799
  * [Bugfix] Fixed a PHP warning appearing at plugin options page in some cases
800
- * [Improvement] Assigned class "heateor_sss_sharing_title" to the title appearing above the social share icons rendered via shortcode
 
 
 
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
5
  Requires at least: 2.5.0
6
  Tested up to: 5.2.2
7
+ Stable tag: 3.2.28
8
  License: GPLv2 or later
9
 
10
  Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Reddit, Pinterest, WhatsApp 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.2.28 [3 September 2019] =
127
  * [Bugfix] Social share icons were not working with standard and transitional AMP modes
128
+
129
+ = 3.2.27 [13 August 2019] =
130
  * [Bugfix] Fixed a PHP warning appearing at plugin options page in some cases
131
  * [Improvement] Assigned class "heateor_sss_sharing_title" to the title appearing above the social share icons rendered via shortcode
132
 
797
  * [Bugfix] Updated the background color for Reddit share icon for AMP according to the Reddit branding guidelines
798
 
799
  = 3.2.27 [13 August 2019] =
 
800
  * [Bugfix] Fixed a PHP warning appearing at plugin options page in some cases
801
+ * [Improvement] Assigned class "heateor_sss_sharing_title" to the title appearing above the social share icons rendered via shortcode
802
+
803
+ = 3.2.28 [3 September 2019] =
804
+ * [Bugfix] Social share icons were not working with standard and transitional AMP modes
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, Reddit, Pinterest, WhatsApp and over 100 more
10
- * Version: 3.2.27
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.27' );
25
  define( 'HEATEOR_SSS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
26
 
27
  // plugin core class object
@@ -188,7 +188,7 @@ add_action( 'wpmu_new_blog', 'heateor_sss_new_subsite_default_options', 10, 6 );
188
  require plugin_dir_path( __FILE__ ) . 'includes/class-sassy-social-share.php';
189
 
190
  /**
191
- * Begins execution of the plugin.
192
  *
193
  * @since 1.0.0
194
  */
7
  * Plugin Name: Sassy Social Share
8
  * Plugin URI: https://www.heateor.com
9
  * Description: Slickest, Simplest and Optimized Share buttons. Facebook, Twitter, Reddit, Pinterest, WhatsApp and over 100 more
10
+ * Version: 3.2.28
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.28' );
25
  define( 'HEATEOR_SSS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
26
 
27
  // plugin core class object
188
  require plugin_dir_path( __FILE__ ) . 'includes/class-sassy-social-share.php';
189
 
190
  /**
191
+ * Begins execution of the plugin
192
  *
193
  * @since 1.0.0
194
  */