WordPress Social Tools, Related Posts, Monetization – Shareaholic - Version 7.4.0.1

Version Description

  • Miscellaneous performance enhancements for Share Counts
Download this release

Release Info

Developer shareaholic
Plugin Icon 128x128 WordPress Social Tools, Related Posts, Monetization – Shareaholic
Version 7.4.0.1
Comparing to
See all releases

Code changes from version 7.4.0.0 to 7.4.0.1

lib/social-share-counts/share_count.php CHANGED
@@ -46,7 +46,7 @@ abstract class ShareaholicShareCount {
46
  'google_plus' => array(
47
  'url' => 'https://clients6.google.com/rpc',
48
  'method' => 'POST',
49
- 'timeout' => 1,
50
  'headers' => array('Content-Type' => 'application/json'),
51
  'body' => NULL,
52
  'prepare' => 'google_plus_prepare_request',
46
  'google_plus' => array(
47
  'url' => 'https://clients6.google.com/rpc',
48
  'method' => 'POST',
49
+ 'timeout' => 2,
50
  'headers' => array('Content-Type' => 'application/json'),
51
  'body' => NULL,
52
  'prepare' => 'google_plus_prepare_request',
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: shareaholic
3
  Tags: sexybookmarks, shareaholic, shareholic, facebook, twitter, linkedin, URL Shortener, bitly, tinyurl, Goo.gl, Google+1, Google Analytics, Google Plus, Google, Instapaper, Wish List, Digg, Gmail, Google Bookmarks, Translate, Tumblr, AIM, Yahoo Messenger, Delicious, StumbleUpon, mister wong, evernote, add this, addtoany, share this, sharethis, share and follow, share and enjoy, sharing is sexy, sharing is caring, yahoo, reddit, hackernews, tweet button, twitter button, fark, buffer, myspace, orkut, netlog, hubspot, weheartit, printfriendly, yammer, wanelo, pinterest, google translate, bookmarks, social, email button, social share, socialize, sociable, sharebar, bookmark button, share button, social bookmarking, bookmarks menu, bookmarking, share, seo, analytics, stats, sharing, facebook like, facebook recommend, WPMU, mutisite, shortcode, yaarp, yarpp, nrelate, outbrain, linkwithin, related content, related posts, related, popular posts, popular, thumbnails, recommendations
4
  Requires at least: 3.0
5
  Tested up to: 3.8.1
6
- Stable tag: 7.4.0.0
7
 
8
  Adds an attractive social bookmarking menu and related content widget to your posts, pages, index, or any combination of the three.
9
 
@@ -12,7 +12,7 @@ Adds an attractive social bookmarking menu and related content widget to your po
12
  Three powerful apps to amplify your content and create conversations, across the web. Shareaholic has proven time and time again to be an extremely useful and successful tool in getting your readers to actually **discover** and **submit your articles** to numerous social bookmarking sites.
13
 
14
  = Recent Updates =
15
- * Floating Share Buttons!
16
  * [Shareable Images](https://blog.shareaholic.com/image-share-buttons/) (share buttons for images)
17
  * Recommendations & Related Content - Increases engagement and time on site by highlighting relevant content that may not otherwise be discovered from across your site.
18
  * Social Analytics - Provides you with important actionable metrics including insights into how your content is performing, who's sharing it, and through which channels.
@@ -155,6 +155,9 @@ Please see here: [Usage & Installation Instructions](http://support.shareaholic.
155
 
156
  == Changelog ==
157
 
 
 
 
158
  = 7.4.0.0 =
159
  * Share Buttons App
160
  * Share Counts for Google+, Reddit, StumbleUpon, VK, Buffer, etc! This release features an optional and all new server side Share Counts API. Toggle this option under the "Advanced Settings" section.
@@ -169,7 +172,7 @@ Please see here: [Usage & Installation Instructions](http://support.shareaholic.
169
  * Multishare toggle for Twitter
170
  * New services: VK (the 2nd largest social network service in Europe after Facebook), Fancy (recommended for e-commerce sites), Wanelo (recommended for e-commerce sites)
171
  * New Share Counts library
172
- * Floating Share Buttons App (NEW!)
173
  * To enable, click on "Edit General Settings" -> Sign In -> Click on "Site Tools" -> Turn on the "Floated Share Buttons" App
174
  * Shareable Images App (NEW!) [learn more](https://blog.shareaholic.com/image-share-buttons/)
175
  * To enable, click on "Edit General Settings" -> Sign In -> Turn on "Shareable Images"
@@ -1041,9 +1044,13 @@ Please see here: [Usage & Installation Instructions](http://support.shareaholic.
1041
 
1042
  == Upgrade Notice ==
1043
 
 
 
 
 
1044
  = 7.4.0.0 =
1045
 
1046
- * Optional and all new server side Share Counts API for share counts for Google+, StumbleUpon, etc! You can toggle this option under the "Advanced Settings" section.
1047
 
1048
  = 7.3.0.1 =
1049
  Miscellaneous bug fixes and performance enhancements
3
  Tags: sexybookmarks, shareaholic, shareholic, facebook, twitter, linkedin, URL Shortener, bitly, tinyurl, Goo.gl, Google+1, Google Analytics, Google Plus, Google, Instapaper, Wish List, Digg, Gmail, Google Bookmarks, Translate, Tumblr, AIM, Yahoo Messenger, Delicious, StumbleUpon, mister wong, evernote, add this, addtoany, share this, sharethis, share and follow, share and enjoy, sharing is sexy, sharing is caring, yahoo, reddit, hackernews, tweet button, twitter button, fark, buffer, myspace, orkut, netlog, hubspot, weheartit, printfriendly, yammer, wanelo, pinterest, google translate, bookmarks, social, email button, social share, socialize, sociable, sharebar, bookmark button, share button, social bookmarking, bookmarks menu, bookmarking, share, seo, analytics, stats, sharing, facebook like, facebook recommend, WPMU, mutisite, shortcode, yaarp, yarpp, nrelate, outbrain, linkwithin, related content, related posts, related, popular posts, popular, thumbnails, recommendations
4
  Requires at least: 3.0
5
  Tested up to: 3.8.1
6
+ Stable tag: 7.4.0.1
7
 
8
  Adds an attractive social bookmarking menu and related content widget to your posts, pages, index, or any combination of the three.
9
 
12
  Three powerful apps to amplify your content and create conversations, across the web. Shareaholic has proven time and time again to be an extremely useful and successful tool in getting your readers to actually **discover** and **submit your articles** to numerous social bookmarking sites.
13
 
14
  = Recent Updates =
15
+ * [Floating Share Buttons](https://blog.shareaholic.com/floating-share-buttons/)!
16
  * [Shareable Images](https://blog.shareaholic.com/image-share-buttons/) (share buttons for images)
17
  * Recommendations & Related Content - Increases engagement and time on site by highlighting relevant content that may not otherwise be discovered from across your site.
18
  * Social Analytics - Provides you with important actionable metrics including insights into how your content is performing, who's sharing it, and through which channels.
155
 
156
  == Changelog ==
157
 
158
+ = 7.4.0.1 =
159
+ * Miscellaneous performance enhancements for Share Counts
160
+
161
  = 7.4.0.0 =
162
  * Share Buttons App
163
  * Share Counts for Google+, Reddit, StumbleUpon, VK, Buffer, etc! This release features an optional and all new server side Share Counts API. Toggle this option under the "Advanced Settings" section.
172
  * Multishare toggle for Twitter
173
  * New services: VK (the 2nd largest social network service in Europe after Facebook), Fancy (recommended for e-commerce sites), Wanelo (recommended for e-commerce sites)
174
  * New Share Counts library
175
+ * Floating Share Buttons App (NEW!) [learn more](https://blog.shareaholic.com/floating-share-buttons/)
176
  * To enable, click on "Edit General Settings" -> Sign In -> Click on "Site Tools" -> Turn on the "Floated Share Buttons" App
177
  * Shareable Images App (NEW!) [learn more](https://blog.shareaholic.com/image-share-buttons/)
178
  * To enable, click on "Edit General Settings" -> Sign In -> Turn on "Shareable Images"
1044
 
1045
  == Upgrade Notice ==
1046
 
1047
+ = 7.4.0.1 =
1048
+
1049
+ Miscellaneous performance enhancements for Share Counts
1050
+
1051
  = 7.4.0.0 =
1052
 
1053
+ Optional and all new server side Share Counts API for share counts for Google+, StumbleUpon, etc! You can toggle this option under the "Advanced Settings" section.
1054
 
1055
  = 7.3.0.1 =
1056
  Miscellaneous bug fixes and performance enhancements
shareaholic.php CHANGED
@@ -3,14 +3,14 @@
3
  * The main file!
4
  *
5
  * @package shareaholic
6
- * @version 7.4.0.0
7
  */
8
 
9
  /*
10
  Plugin Name: Shareaholic | share buttons, analytics, related content
11
  Plugin URI: https://shareaholic.com/publishers/
12
  Description: Whether you want to get people sharing, grow your fans, make money, or know who's reading your content, Shareaholic will help you get it done. See <a href="admin.php?page=shareaholic-settings">configuration panel</a> for more settings.
13
- Version: 7.4.0.0
14
  Author: Shareaholic
15
  Author URI: https://shareaholic.com
16
  Text Domain: shareaholic
@@ -37,7 +37,7 @@ define('SHAREAHOLIC_DIR', dirname(__FILE__));
37
  define('SHAREAHOLIC_ASSET_DIR', plugins_url( '/assets/' , __FILE__ ));
38
 
39
  // Caching
40
- if( !defined( 'SHARE_COUNTS_CHECK_CACHE_LENGTH' ) ) define( 'SHARE_COUNTS_CHECK_CACHE_LENGTH', 60 ); // 60 seconds
41
  if( !defined( 'RECOMMENDATIONS_STATUS_CHECK_CACHE_LENGTH' ) ) define( 'RECOMMENDATIONS_STATUS_CHECK_CACHE_LENGTH', 60 ); // 60 seconds
42
 
43
  // because define can use function returns and const can't
@@ -61,7 +61,7 @@ class Shareaholic {
61
  const CM_API_URL = 'https://cm-web.shareaholic.com'; // uses static IPs for firewall whitelisting
62
  const REC_API_URL = 'http://recommendations.shareaholic.com';
63
 
64
- const VERSION = '7.4.0.0';
65
 
66
  /**
67
  * Starts off as false so that ::get_instance() returns
3
  * The main file!
4
  *
5
  * @package shareaholic
6
+ * @version 7.4.0.1
7
  */
8
 
9
  /*
10
  Plugin Name: Shareaholic | share buttons, analytics, related content
11
  Plugin URI: https://shareaholic.com/publishers/
12
  Description: Whether you want to get people sharing, grow your fans, make money, or know who's reading your content, Shareaholic will help you get it done. See <a href="admin.php?page=shareaholic-settings">configuration panel</a> for more settings.
13
+ Version: 7.4.0.1
14
  Author: Shareaholic
15
  Author URI: https://shareaholic.com
16
  Text Domain: shareaholic
37
  define('SHAREAHOLIC_ASSET_DIR', plugins_url( '/assets/' , __FILE__ ));
38
 
39
  // Caching
40
+ if( !defined( 'SHARE_COUNTS_CHECK_CACHE_LENGTH' ) ) define( 'SHARE_COUNTS_CHECK_CACHE_LENGTH', 180 ); // 180 seconds
41
  if( !defined( 'RECOMMENDATIONS_STATUS_CHECK_CACHE_LENGTH' ) ) define( 'RECOMMENDATIONS_STATUS_CHECK_CACHE_LENGTH', 60 ); // 60 seconds
42
 
43
  // because define can use function returns and const can't
61
  const CM_API_URL = 'https://cm-web.shareaholic.com'; // uses static IPs for firewall whitelisting
62
  const REC_API_URL = 'http://recommendations.shareaholic.com';
63
 
64
+ const VERSION = '7.4.0.1';
65
 
66
  /**
67
  * Starts off as false so that ::get_instance() returns
utilities.php CHANGED
@@ -998,7 +998,7 @@ class ShareaholicUtilities {
998
  $services_config = ShareaholicSeqShareCount::get_services_config();
999
  $services = array_keys($services_config);
1000
  $param_string = implode('&services[]=', $services);
1001
- $share_counts_api_url = admin_url('admin-ajax.php') . '?action=shareaholic_share_counts_api&url=https%3A%2F%2Fblog.shareaholic.com%2F&services[]=' . $param_string;
1002
  $cache_key = 'share_counts_api_connectivity_check';
1003
 
1004
  $response = get_transient($cache_key);
998
  $services_config = ShareaholicSeqShareCount::get_services_config();
999
  $services = array_keys($services_config);
1000
  $param_string = implode('&services[]=', $services);
1001
+ $share_counts_api_url = admin_url('admin-ajax.php') . '?action=shareaholic_share_counts_api&url=https%3A%2F%2Fwww.google.com%2F&services[]=' . $param_string;
1002
  $cache_key = 'share_counts_api_connectivity_check';
1003
 
1004
  $response = get_transient($cache_key);