Version Description
- [Bugfix] Vkontakte share count was appearing in the form of VK.Share.count(0, 0)
- [Bugfix] Reddit badge was not appearing on webpages having ssl enabled
Download this release
Release Info
Developer | Heateor |
Plugin | WordPress Social Sharing Plugin – Sassy Social Share |
Version | 1.7.2 |
Comparing to | |
See all releases |
Code changes from version 1.7.1 to 1.7.2
includes/class-sassy-social-share-sharing-networks.php
CHANGED
@@ -31,7 +31,7 @@ class Sassy_Social_Share_Sharing_Networks {
|
|
31 |
'buffer_share' => '<li style="padding:%padding%px 0 !important" class="heateor_sss_%network%">%like_count_container%<a href="http://bufferapp.com/add" class="buffer-add-button" data-text="%post_title%" data-url="%post_url%" data-count="horizontal" data-via="%buffer_username%" ></a><script type="text/javascript" src="https://d389zggrogs7qo.cloudfront.net/js/button.js"></script></li>',
|
32 |
'xing_share' => '<li style="padding:%padding%px 0 !important" class="heateor_sss_xing">%like_count_container%<div data-type="XING/Share" data-counter="right" data-url="%post_url%" data-lang="%language%"></div><script>(function (d, s) {var x = d.createElement(s), s = d.getElementsByTagName(s)[0]; x.src = "https://www.xing-share.com/js/external/share.js"; s.parentNode.insertBefore(x, s); })(document, "script");</script></li>',
|
33 |
'yummly_share' => '<li style="padding:%padding%px 0 !important" class="heateor_sss_yummly">%like_count_container%<a href="//yummly.com" class="YUMMLY-YUM-BUTTON">Yum</a><script src="https://www.yummly.com/js/widget.js?general"></script></li>',
|
34 |
-
'reddit_badge' => '<li style="padding:%padding%px 0 !important" class="heateor_sss_reddit">%like_count_container%<script type="text/javascript" src="
|
35 |
'stumbleupon_badge' => '<li style="padding:%padding%px 0 !important" class="heateor_sss_stumbleupon">%like_count_container%<su:badge layout="1" location="%post_url%"></su:badge><script type="text/javascript">(function() {var li = document.createElement(\'script\' ); li.type = \'text/javascript\'; li.async = true;li.src = (\'https:\' == document.location.protocol ? \'https:\' : \'http:\' ) + \'//platform.stumbleupon.com/1/widgets.js\';var s = document.getElementsByTagName(\'script\' )[0]; s.parentNode.insertBefore(li, s);})();</script></li>',
|
36 |
'facebook' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="heateorSssSharing heateorSss%ucfirst_network%Background" onclick=\'heateorSssPopup("https://www.facebook.com/sharer/sharer.php?u=%post_url%")\'><ss style="%inner_style%" class="heateorSssSharingSvg heateorSss%ucfirst_network%Svg"></ss></i></li>',
|
37 |
'twitter' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="heateorSssSharing heateorSss%ucfirst_network%Background" onclick=\'heateorSssPopup("http://twitter.com/intent/tweet?%via_twitter_username%text=%post_title%&url=%post_url%")\'><ss style="%inner_style%" class="heateorSssSharingSvg heateorSss%ucfirst_network%Svg"></ss></i></li>',
|
31 |
'buffer_share' => '<li style="padding:%padding%px 0 !important" class="heateor_sss_%network%">%like_count_container%<a href="http://bufferapp.com/add" class="buffer-add-button" data-text="%post_title%" data-url="%post_url%" data-count="horizontal" data-via="%buffer_username%" ></a><script type="text/javascript" src="https://d389zggrogs7qo.cloudfront.net/js/button.js"></script></li>',
|
32 |
'xing_share' => '<li style="padding:%padding%px 0 !important" class="heateor_sss_xing">%like_count_container%<div data-type="XING/Share" data-counter="right" data-url="%post_url%" data-lang="%language%"></div><script>(function (d, s) {var x = d.createElement(s), s = d.getElementsByTagName(s)[0]; x.src = "https://www.xing-share.com/js/external/share.js"; s.parentNode.insertBefore(x, s); })(document, "script");</script></li>',
|
33 |
'yummly_share' => '<li style="padding:%padding%px 0 !important" class="heateor_sss_yummly">%like_count_container%<a href="//yummly.com" class="YUMMLY-YUM-BUTTON">Yum</a><script src="https://www.yummly.com/js/widget.js?general"></script></li>',
|
34 |
+
'reddit_badge' => '<li style="padding:%padding%px 0 !important" class="heateor_sss_reddit">%like_count_container%<script type="text/javascript" src="//www.reddit.com/static/button/button1.js"></script></li>',
|
35 |
'stumbleupon_badge' => '<li style="padding:%padding%px 0 !important" class="heateor_sss_stumbleupon">%like_count_container%<su:badge layout="1" location="%post_url%"></su:badge><script type="text/javascript">(function() {var li = document.createElement(\'script\' ); li.type = \'text/javascript\'; li.async = true;li.src = (\'https:\' == document.location.protocol ? \'https:\' : \'http:\' ) + \'//platform.stumbleupon.com/1/widgets.js\';var s = document.getElementsByTagName(\'script\' )[0]; s.parentNode.insertBefore(li, s);})();</script></li>',
|
36 |
'facebook' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="heateorSssSharing heateorSss%ucfirst_network%Background" onclick=\'heateorSssPopup("https://www.facebook.com/sharer/sharer.php?u=%post_url%")\'><ss style="%inner_style%" class="heateorSssSharingSvg heateorSss%ucfirst_network%Svg"></ss></i></li>',
|
37 |
'twitter' => '<li class="%li_class%"><i %style% alt="%title%" Title="%title%" class="heateorSssSharing heateorSss%ucfirst_network%Background" onclick=\'heateorSssPopup("http://twitter.com/intent/tweet?%via_twitter_username%text=%post_title%&url=%post_url%")\'><ss style="%inner_style%" class="heateorSssSharingSvg heateorSss%ucfirst_network%Svg"></ss></i></li>',
|
public/class-sassy-social-share-public.php
CHANGED
@@ -815,7 +815,7 @@ class Sassy_Social_Share_Public {
|
|
815 |
case 'vkontakte':
|
816 |
if ( ! empty( $body ) ) {
|
817 |
$response_data[$target_url]['vkontakte'] = $body;
|
818 |
-
$share_count_transient['vkontakte'] = $body;
|
819 |
} else {
|
820 |
$response_data[$target_url]['vkontakte'] = 0;
|
821 |
}
|
815 |
case 'vkontakte':
|
816 |
if ( ! empty( $body ) ) {
|
817 |
$response_data[$target_url]['vkontakte'] = $body;
|
818 |
+
$share_count_transient['vkontakte'] = (int) str_replace(array('VK.Share.count(0, ', ');'), '', $body);
|
819 |
} else {
|
820 |
$response_data[$target_url]['vkontakte'] = 0;
|
821 |
}
|
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.4.2
|
7 |
-
Stable tag: 1.7.
|
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,10 @@ 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 |
= 1.7.1 =
|
119 |
* [Bugfix] Share counts were messing with the sharing icons in some cases
|
120 |
|
@@ -191,4 +195,8 @@ Yes, we can help you with it. Just drop an email at support[at]heateor[dot]com
|
|
191 |
* [New] Added option to specify time duration to refresh share count cache
|
192 |
|
193 |
= 1.7.1 =
|
194 |
-
* [Bugfix] Share counts were messing with the sharing icons in some cases
|
|
|
|
|
|
|
|
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: 1.7.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 |
+
= 1.7.2 =
|
119 |
+
* [Bugfix] Vkontakte share count was appearing in the form of VK.Share.count(0, 0)
|
120 |
+
* [Bugfix] Reddit badge was not appearing on webpages having ssl enabled
|
121 |
+
|
122 |
= 1.7.1 =
|
123 |
* [Bugfix] Share counts were messing with the sharing icons in some cases
|
124 |
|
195 |
* [New] Added option to specify time duration to refresh share count cache
|
196 |
|
197 |
= 1.7.1 =
|
198 |
+
* [Bugfix] Share counts were messing with the sharing icons in some cases
|
199 |
+
|
200 |
+
= 1.7.2 =
|
201 |
+
* [Bugfix] Vkontakte share count was appearing in the form of VK.Share.count(0, 0)
|
202 |
+
* [Bugfix] Reddit badge was not appearing on webpages having ssl 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: 1.7.
|
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', '1.7.
|
25 |
|
26 |
// plugin core class object
|
27 |
$heateor_sss = null;
|
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: 1.7.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', '1.7.2' );
|
25 |
|
26 |
// plugin core class object
|
27 |
$heateor_sss = null;
|