Version Description
Various reliablity improvements
Download this release
Release Info
Developer | shareaholic |
Plugin | WordPress Social Tools, Related Posts, Monetization – Shareaholic |
Version | 8.10.0 |
Comparing to | |
See all releases |
Code changes from version 8.9.1 to 8.10.0
- readme.txt +15 -6
- shareaholic.php +3 -3
- utilities.php +10 -3
readme.txt
CHANGED
@@ -1,22 +1,24 @@
|
|
1 |
-
=== WordPress Share Buttons, Related Posts,
|
2 |
Contributors: shareaholic
|
3 |
Tags: buttons, related posts, google analytics, share buttons, social sharing, image sharing, related content, woocommerce, typepad, amazon, analytics, arto, baidu, bitly, blogger, buffer, cookie compliance, cookie consent, delicious, digg, diigo, disqus, email button, eu cookie law, evernote, facebook, facebook sharing, fancy, fark, feedly, flipboard, floated share buttons, floating share buttons, follow buttons, GDPR, gmail, google bookmarks, google classroom, google plus, hootsuite, hotmail, houzz, inbound.org, instagram, instagram sharing, instapaper, kik, kindle, line, linkedin, livejournal, meneame, mister wong, mix, mixi, odnoklassniki, box.net, onenote, pinboard.in, pinterest, pinterest sharing, plurk, pocket, printfriendly, recommendations, reddit, sexybookmarks, share buttons, share image, shareaholic, shareholic, sms, social bookmarking, social media, social plugin, social share buttons, spotify, stumbleupon, stumpedia, symphony, tinyurl, tumblr, twitter, viadeo, vk, wanelo, weheartit, weibo, whatsapp, wykop, xing, yahoo, yammer, ycombinator, hacker news, youtube, yummly, zillow
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 5.0
|
6 |
Requires PHP: 5.2
|
7 |
-
Stable tag: 8.
|
8 |
|
9 |
|
10 |
-
|
11 |
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
-
Shareaholic is the **world's leading suite of
|
16 |
|
17 |
-
|
18 |
|
19 |
-
|
|
|
|
|
20 |
|
21 |
= Social Media Share Buttons =
|
22 |
|
@@ -258,6 +260,9 @@ Each time you change Shareaholic's thumbnail dimensions like this, you will prob
|
|
258 |
|
259 |
== Changelog ==
|
260 |
|
|
|
|
|
|
|
261 |
= 8.9.1 (2018-11-16) =
|
262 |
* Bugfix: Critical fix for bug introduced in last release; fixes JS references
|
263 |
|
@@ -830,6 +835,10 @@ Each time you change Shareaholic's thumbnail dimensions like this, you will prob
|
|
830 |
|
831 |
== Upgrade Notice ==
|
832 |
|
|
|
|
|
|
|
|
|
833 |
= 8.9.1 =
|
834 |
|
835 |
Critical fix for bug introduced in last release; fixes JS references
|
1 |
+
=== WordPress Share Buttons, Related Posts, Google Analytics - Shareaholic ===
|
2 |
Contributors: shareaholic
|
3 |
Tags: buttons, related posts, google analytics, share buttons, social sharing, image sharing, related content, woocommerce, typepad, amazon, analytics, arto, baidu, bitly, blogger, buffer, cookie compliance, cookie consent, delicious, digg, diigo, disqus, email button, eu cookie law, evernote, facebook, facebook sharing, fancy, fark, feedly, flipboard, floated share buttons, floating share buttons, follow buttons, GDPR, gmail, google bookmarks, google classroom, google plus, hootsuite, hotmail, houzz, inbound.org, instagram, instagram sharing, instapaper, kik, kindle, line, linkedin, livejournal, meneame, mister wong, mix, mixi, odnoklassniki, box.net, onenote, pinboard.in, pinterest, pinterest sharing, plurk, pocket, printfriendly, recommendations, reddit, sexybookmarks, share buttons, share image, shareaholic, shareholic, sms, social bookmarking, social media, social plugin, social share buttons, spotify, stumbleupon, stumpedia, symphony, tinyurl, tumblr, twitter, viadeo, vk, wanelo, weheartit, weibo, whatsapp, wykop, xing, yahoo, yammer, ycombinator, hacker news, youtube, yummly, zillow
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 5.0
|
6 |
Requires PHP: 5.2
|
7 |
+
Stable tag: 8.10.0
|
8 |
|
9 |
|
10 |
+
Improve Audience Engagement with Award Winning Site-Speed Optimized Social Tools: Share Buttons, Related Posts, Monetization & Google Analytics.
|
11 |
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
+
Shareaholic is the **world's leading suite of Audience Engagement tools**. Included in the plugin are related content and related post recommendations, social share buttons, Google Analytics, and a variety of site monetization options.
|
16 |
|
17 |
+
This plugin makes it easy for any website — big or small — to engage and grow their traffic, market their content, gain insight, and monetize their audience. And it all lives in one simple dashboard.
|
18 |
|
19 |
+
This single plugin combines the functionality of many -- social, content, and monetization plugins including: JetPack, Contextual Related Posts (CRP), Social Warfare, Tasty Pins, Yet Another Related Posts Plugin (YARPP), Zemanta, SexyBookmarks, Shariff, AddThis, AddToAny, and many others.
|
20 |
+
|
21 |
+
We do all this in a lightweight & lightening fast package by using advanced code optimization techniques such a selective and lazy loading. The plugin loads just the functionality that you have selected and when necessary. Also, because all the tools are vertically integrated, you'll have a set of tools that are designed to work perfectly together with no conflicts, headaches or slow downs. In fact, we’re recognized by WP Engine as being a [“Essential Speed Friendly Social Media & SEO Toolkit”](https://wpengine.com/solution-center/shareaholic-the-essential-social-media-toolkit/).
|
22 |
|
23 |
= Social Media Share Buttons =
|
24 |
|
260 |
|
261 |
== Changelog ==
|
262 |
|
263 |
+
= 8.10.0 (2018-11-19) =
|
264 |
+
* Enhancement: Generate a new Site Profile ID in-case existing one gets deleted
|
265 |
+
|
266 |
= 8.9.1 (2018-11-16) =
|
267 |
* Bugfix: Critical fix for bug introduced in last release; fixes JS references
|
268 |
|
835 |
|
836 |
== Upgrade Notice ==
|
837 |
|
838 |
+
= 8.10.0 =
|
839 |
+
|
840 |
+
Various reliablity improvements
|
841 |
+
|
842 |
= 8.9.1 =
|
843 |
|
844 |
Critical fix for bug introduced in last release; fixes JS references
|
shareaholic.php
CHANGED
@@ -3,14 +3,14 @@
|
|
3 |
* The main file!
|
4 |
*
|
5 |
* @package shareaholic
|
6 |
-
* @version 8.
|
7 |
*/
|
8 |
|
9 |
/*
|
10 |
Plugin Name: Shareaholic - Share Buttons, Analytics, Related Posts
|
11 |
Plugin URI: https://www.shareaholic.com/website-tools/
|
12 |
Description: The best WordPress all-in-one Social Media and Related Posts solution. Get found on social and grow your following. See <a href="admin.php?page=shareaholic-settings">configuration panel</a> for settings.
|
13 |
-
Version: 8.
|
14 |
Author: Shareaholic
|
15 |
Author URI: https://www.shareaholic.com
|
16 |
Text Domain: shareaholic
|
@@ -61,7 +61,7 @@ if (!class_exists('Shareaholic')) {
|
|
61 |
const API_URL = 'https://web.shareaholic.com'; // uses static IPs for firewall whitelisting
|
62 |
const CM_API_URL = 'https://cm-web.shareaholic.com'; // uses static IPs for firewall whitelisting
|
63 |
|
64 |
-
const VERSION = '8.
|
65 |
|
66 |
/**
|
67 |
* Starts off as false so that ::get_instance() returns
|
3 |
* The main file!
|
4 |
*
|
5 |
* @package shareaholic
|
6 |
+
* @version 8.10.0
|
7 |
*/
|
8 |
|
9 |
/*
|
10 |
Plugin Name: Shareaholic - Share Buttons, Analytics, Related Posts
|
11 |
Plugin URI: https://www.shareaholic.com/website-tools/
|
12 |
Description: The best WordPress all-in-one Social Media and Related Posts solution. Get found on social and grow your following. See <a href="admin.php?page=shareaholic-settings">configuration panel</a> for settings.
|
13 |
+
Version: 8.10.0
|
14 |
Author: Shareaholic
|
15 |
Author URI: https://www.shareaholic.com
|
16 |
Text Domain: shareaholic
|
61 |
const API_URL = 'https://web.shareaholic.com'; // uses static IPs for firewall whitelisting
|
62 |
const CM_API_URL = 'https://cm-web.shareaholic.com'; // uses static IPs for firewall whitelisting
|
63 |
|
64 |
+
const VERSION = '8.10.0';
|
65 |
|
66 |
/**
|
67 |
* Starts off as false so that ::get_instance() returns
|
utilities.php
CHANGED
@@ -657,10 +657,17 @@ class ShareaholicUtilities {
|
|
657 |
*/
|
658 |
public static function get_or_create_api_key() {
|
659 |
$api_key = self::get_option('api_key');
|
660 |
-
|
661 |
-
// ensure api key set is atleast 30 characters
|
662 |
if ($api_key && (strlen($api_key) > 30)) {
|
663 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
664 |
}
|
665 |
|
666 |
if (!self::is_locked('get_or_create_api_key')) {
|
657 |
*/
|
658 |
public static function get_or_create_api_key() {
|
659 |
$api_key = self::get_option('api_key');
|
660 |
+
|
661 |
+
// ensure api key set is atleast 30 characters
|
662 |
if ($api_key && (strlen($api_key) > 30)) {
|
663 |
+
// ensure api key exists on server
|
664 |
+
$response = ShareaholicCurl::get(Shareaholic::API_URL . "/publisher_tools/{$api_key}.json");
|
665 |
+
if(is_array($response) && array_key_exists('body', $response)) {
|
666 |
+
$response_code = wp_remote_retrieve_response_code($response);
|
667 |
+
if ($response_code != "404"){
|
668 |
+
return $api_key;
|
669 |
+
}
|
670 |
+
}
|
671 |
}
|
672 |
|
673 |
if (!self::is_locked('get_or_create_api_key')) {
|