WordPress Social Sharing Plugin – Sassy Social Share - Version 2.5.2

Version Description

  • [Bugfix] Myspace sharing was not working
  • [Bugfix] Myspace was not appearing in "More" share icons popup
  • [Bugfix] Colon (:) in post/page title was appearing encoded in Twitter sharing
Download this release

Release Info

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

Code changes from version 2.5.1 to 2.5.2

admin/class-sassy-social-share-admin.php CHANGED
@@ -230,9 +230,7 @@ class Sassy_Social_Share_Admin {
230
  public function validate_options( $heateorSssOptions ) {
231
 
232
  foreach ( $heateorSssOptions as $k => $v ) {
233
- if ( is_array( $v ) ) {
234
- $heateorSssOptions[$k] = $heateorSssOptions[$k];
235
- } else {
236
  $heateorSssOptions[$k] = esc_attr( trim( $v ) );
237
  }
238
  }
230
  public function validate_options( $heateorSssOptions ) {
231
 
232
  foreach ( $heateorSssOptions as $k => $v ) {
233
+ if ( is_string( $v ) ) {
 
 
234
  $heateorSssOptions[$k] = esc_attr( trim( $v ) );
235
  }
236
  }
includes/class-sassy-social-share-sharing-networks.php CHANGED
@@ -99,7 +99,7 @@ class Sassy_Social_Share_Sharing_Networks {
99
  'Mendeley' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="heateorSssSharing heateorSss%ucfirst_network%Background" onclick=\'heateorSssPopup("https://www.mendeley.com/sign-in/")\'><ss style="%inner_style%" class="heateorSssSharingSvg heateorSss%ucfirst_network%Svg"></ss></i></li>',
100
  'Meneame' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="heateorSssSharing heateorSss%ucfirst_network%Background" onclick=\'heateorSssPopup("https://www.meneame.net/submit.php?url=%post_url%")\'><ss style="%inner_style%" class="heateorSssSharingSvg heateorSss%ucfirst_network%Svg"></ss></i></li>',
101
  'Mixi' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="heateorSssSharing heateorSss%ucfirst_network%Background" onclick=\'heateorSssPopup("https://mixi.jp/share.pl?mode=login&u=%post_url%")\'><ss style="%inner_style%" class="heateorSssSharingSvg heateorSss%ucfirst_network%Svg"></ss></i></li>',
102
- 'MySpace' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="heateorSssSharing heateorSss%ucfirst_network%Background" onclick=\'heateorSssPopup("https://myspace.com/")\'><ss style="%inner_style%" class="heateorSssSharingSvg heateorSss%ucfirst_network%Svg"></ss></i></li>',
103
  'Netlog' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="heateorSssSharing heateorSss%ucfirst_network%Background" onclick=\'heateorSssPopup("http://www.netlog.com/go/manage/links/view=save&origin=external&url=%post_url%&title=%post_title%&description=")\'><ss style="%inner_style%" class="heateorSssSharingSvg heateorSss%ucfirst_network%Svg"></ss></i></li>',
104
  'Netvouz' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="heateorSssSharing heateorSss%ucfirst_network%Background" onclick=\'heateorSssPopup("http://www.netvouz.com/action/submitBookmark?url=%post_url%&title=%post_title%&popup=no&description=")\'><ss style="%inner_style%" class="heateorSssSharingSvg heateorSss%ucfirst_network%Svg"></ss></i></li>',
105
  'NewsVine' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="heateorSssSharing heateorSss%ucfirst_network%Background" onclick=\'heateorSssPopup("http://www.newsvine.com/_tools/seed?popoff=0&u=%post_url%&h=%post_title%")\'><ss style="%inner_style%" class="heateorSssSharingSvg heateorSss%ucfirst_network%Svg"></ss></i></li>',
99
  'Mendeley' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="heateorSssSharing heateorSss%ucfirst_network%Background" onclick=\'heateorSssPopup("https://www.mendeley.com/sign-in/")\'><ss style="%inner_style%" class="heateorSssSharingSvg heateorSss%ucfirst_network%Svg"></ss></i></li>',
100
  'Meneame' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="heateorSssSharing heateorSss%ucfirst_network%Background" onclick=\'heateorSssPopup("https://www.meneame.net/submit.php?url=%post_url%")\'><ss style="%inner_style%" class="heateorSssSharingSvg heateorSss%ucfirst_network%Svg"></ss></i></li>',
101
  'Mixi' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="heateorSssSharing heateorSss%ucfirst_network%Background" onclick=\'heateorSssPopup("https://mixi.jp/share.pl?mode=login&u=%post_url%")\'><ss style="%inner_style%" class="heateorSssSharingSvg heateorSss%ucfirst_network%Svg"></ss></i></li>',
102
+ 'MySpace' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="heateorSssSharing heateorSss%ucfirst_network%Background" onclick=\'var heateorSssMyspaceShareUrl = "https://myspace.com/post?u=" + encodeURIComponent("%post_url%") + "&t=%post_title%&l=3&c=%post_title%";heateorSssPopup(heateorSssMyspaceShareUrl)\'><ss style="%inner_style%" class="heateorSssSharingSvg heateorSss%ucfirst_network%Svg"></ss></i></li>',
103
  'Netlog' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="heateorSssSharing heateorSss%ucfirst_network%Background" onclick=\'heateorSssPopup("http://www.netlog.com/go/manage/links/view=save&origin=external&url=%post_url%&title=%post_title%&description=")\'><ss style="%inner_style%" class="heateorSssSharingSvg heateorSss%ucfirst_network%Svg"></ss></i></li>',
104
  'Netvouz' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="heateorSssSharing heateorSss%ucfirst_network%Background" onclick=\'heateorSssPopup("http://www.netvouz.com/action/submitBookmark?url=%post_url%&title=%post_title%&popup=no&description=")\'><ss style="%inner_style%" class="heateorSssSharingSvg heateorSss%ucfirst_network%Svg"></ss></i></li>',
105
  'NewsVine' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="heateorSssSharing heateorSss%ucfirst_network%Background" onclick=\'heateorSssPopup("http://www.newsvine.com/_tools/seed?popoff=0&u=%post_url%&h=%post_title%")\'><ss style="%inner_style%" class="heateorSssSharingSvg heateorSss%ucfirst_network%Svg"></ss></i></li>',
public/class-sassy-social-share-public.php CHANGED
@@ -543,9 +543,9 @@ class Sassy_Social_Share_Public {
543
  redirect_url: "https://mixi.jp/share.pl?mode=login&u=" + postUrl,
544
  },
545
  MySpace: {
546
- title: "Mixi",
547
  locale: "en-US",
548
- redirect_url: "https://myspace.com/",
549
  },
550
  Netlog: {
551
  title: "Netlog",
@@ -971,10 +971,10 @@ class Sassy_Social_Share_Public {
971
  $replace_by[] = '';
972
  }
973
  $wpseo_post_title = $post_title;
974
- $decoded_post_title = esc_html( str_replace( array( '%23', '%27', '%22', '%21' ), array( '#', "'", '"', '!' ), urlencode( $original_post_title ) ) );
975
  if ( $wpseo_twitter_title = $this->wpseo_twitter_title( $post ) ) {
976
  $wpseo_post_title = $this->sanitize_post_title( $wpseo_twitter_title );
977
- $decoded_post_title = esc_html( str_replace( array( '%23', '%27', '%22', '%21' ), array( '#', "'", '"', '!' ), urlencode( html_entity_decode( $wpseo_twitter_title, ENT_QUOTES, 'UTF-8' ) ) ) );
978
  }
979
 
980
  foreach ( $this->options[$sharing_type.'_re_providers'] as $provider ) {
543
  redirect_url: "https://mixi.jp/share.pl?mode=login&u=" + postUrl,
544
  },
545
  MySpace: {
546
+ title: "MySpace",
547
  locale: "en-US",
548
+ redirect_url: "https://myspace.com/post?u=" + encodeURIComponent(postUrl) + "&t=" + postTitle + "&l=3&c=" + postTitle,
549
  },
550
  Netlog: {
551
  title: "Netlog",
971
  $replace_by[] = '';
972
  }
973
  $wpseo_post_title = $post_title;
974
+ $decoded_post_title = esc_html( str_replace( array( '%23', '%27', '%22', '%21', '%3A' ), array( '#', "'", '"', '!', ':' ), urlencode( $original_post_title ) ) );
975
  if ( $wpseo_twitter_title = $this->wpseo_twitter_title( $post ) ) {
976
  $wpseo_post_title = $this->sanitize_post_title( $wpseo_twitter_title );
977
+ $decoded_post_title = esc_html( str_replace( array( '%23', '%27', '%22', '%21', '%3A' ), array( '#', "'", '"', '!', ':' ), urlencode( html_entity_decode( $wpseo_twitter_title, ENT_QUOTES, 'UTF-8' ) ) ) );
978
  }
979
 
980
  foreach ( $this->options[$sharing_type.'_re_providers'] as $provider ) {
public/js/sassy-social-share-public.js CHANGED
@@ -359,9 +359,9 @@ function heateorSssMoreSharingPopup(elem, postUrl, postTitle, twitterTitle){
359
  redirect_url: "https://mixi.jp/share.pl?mode=login&u=" + postUrl,
360
  },
361
  MySpace: {
362
- title: "Mixi",
363
  locale: "en-US",
364
- redirect_url: "https://myspace.com/",
365
  },
366
  Netlog: {
367
  title: "Netlog",
359
  redirect_url: "https://mixi.jp/share.pl?mode=login&u=" + postUrl,
360
  },
361
  MySpace: {
362
+ title: "MySpace",
363
  locale: "en-US",
364
+ redirect_url: "https://myspace.com/post?u=" + encodeURIComponent(postUrl) + "&t=" + postTitle + "&l=3&c=" + postTitle,
365
  },
366
  Netlog: {
367
  title: "Netlog",
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 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.6.1
7
- Stable tag: 2.5.1
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,11 @@ 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.5.1 =
119
  * [Bugfix] Flipboard sharing was not working due to outdated API
120
  * [New] Twitter sharer shows title from "Twitter Title" option of Yoast SEO post meta options, if one is specified
@@ -333,4 +338,9 @@ Yes, we can help you with it. Just drop an email at support[at]heateor[dot]com
333
  * [Bugfix] Flipboard sharing was not working due to outdated API
334
  * [New] Twitter sharer shows title from "Twitter Title" option of Yoast SEO post meta options, if one is specified
335
  * [Improvement] Improved share count functionality
336
- * [Improvement] Updated Instagram icon
 
 
 
 
 
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.6.1
7
+ Stable tag: 2.5.2
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.5.2 =
119
+ * [Bugfix] Myspace sharing was not working
120
+ * [Bugfix] Myspace was not appearing in "More" share icons popup
121
+ * [Bugfix] Colon (:) in post/page title was appearing encoded in Twitter sharing
122
+
123
  = 2.5.1 =
124
  * [Bugfix] Flipboard sharing was not working due to outdated API
125
  * [New] Twitter sharer shows title from "Twitter Title" option of Yoast SEO post meta options, if one is specified
338
  * [Bugfix] Flipboard sharing was not working due to outdated API
339
  * [New] Twitter sharer shows title from "Twitter Title" option of Yoast SEO post meta options, if one is specified
340
  * [Improvement] Improved share count functionality
341
+ * [Improvement] Updated Instagram icon
342
+
343
+ = 2.5.2 =
344
+ * [Bugfix] Myspace sharing was not working
345
+ * [Bugfix] Myspace was not appearing in "More" share icons popup
346
+ * [Bugfix] Colon (:) in post/page title was appearing encoded in Twitter sharing
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.5.1
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.5.1' );
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: 2.5.2
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.5.2' );
25
  define( 'HEATEOR_SSS_PLUGIN_DIR', plugin_dir_path(__FILE__) );
26
 
27
  // plugin core class object