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

Version Description

We've improved the server connectivity check. If you've been getting the 'retry' error message after installing Shareaholic, this one is for you.

Download this release

Release Info

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

Code changes from version 8.6.4 to 8.6.5

Files changed (3) hide show
  1. public.php +1 -2
  2. readme.txt +5 -2
  3. shareaholic.php +3 -3
public.php CHANGED
@@ -340,7 +340,6 @@ class ShareaholicPublic {
340
  * @return string the content
341
  */
342
  public static function draw_canvases($content) {
343
- global $post;
344
  $settings = ShareaholicUtilities::get_settings();
345
  $page_type = ShareaholicUtilities::page_type();
346
  foreach (array('share_buttons', 'recommendations') as $app) {
@@ -351,7 +350,7 @@ class ShareaholicPublic {
351
  }
352
 
353
  // check individual post prefs
354
- if (!get_post_meta($post->ID, "shareaholic_disable_{$app}", true)) {
355
  // check if ABOVE location is turned on
356
  if (isset($settings[$app]["{$page_type}_above_content"]) && $settings[$app]["{$page_type}_above_content"] == 'on') {
357
  $id = $settings['location_name_ids'][$app]["{$page_type}_above_content"];
340
  * @return string the content
341
  */
342
  public static function draw_canvases($content) {
 
343
  $settings = ShareaholicUtilities::get_settings();
344
  $page_type = ShareaholicUtilities::page_type();
345
  foreach (array('share_buttons', 'recommendations') as $app) {
350
  }
351
 
352
  // check individual post prefs
353
+ if (!get_post_meta(get_the_ID(), "shareaholic_disable_{$app}", true)) {
354
  // check if ABOVE location is turned on
355
  if (isset($settings[$app]["{$page_type}_above_content"]) && $settings[$app]["{$page_type}_above_content"] == 'on') {
356
  $id = $settings['location_name_ids'][$app]["{$page_type}_above_content"];
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: shareaholic
3
  Tags: Social Tools, 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, izeby, kaboodle, kik, kindle, line, linkedin, livejournal, meneame, mister wong, 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: 4.9
6
- Stable tag: 8.6.4
7
 
8
  Consolidate plugins with a high-speed suite of social tools: social share buttons, related content, related posts, ad monetization & Google Analytics.
9
 
@@ -218,6 +218,9 @@ Please see here: [Usage & Installation Instructions](http://support.shareaholic.
218
 
219
  == Changelog ==
220
 
 
 
 
221
  = 8.6.4 (2018-02-06) =
222
  * Bugfix: Styling fixes for Advanced Settings section
223
  * Bugfix: Fixes 'Missing argument' warning
@@ -715,7 +718,7 @@ Please see here: [Usage & Installation Instructions](http://support.shareaholic.
715
  * Show Related Posts data status
716
 
717
  == Upgrade Notice ==
718
- = 8.6.4 =
719
  We've improved the server connectivity check. If you've been getting the 'retry' error message after installing Shareaholic, this one is for you.
720
 
721
  = 8.6.1 =
3
  Tags: Social Tools, 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, izeby, kaboodle, kik, kindle, line, linkedin, livejournal, meneame, mister wong, 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: 4.9
6
+ Stable tag: 8.6.5
7
 
8
  Consolidate plugins with a high-speed suite of social tools: social share buttons, related content, related posts, ad monetization & Google Analytics.
9
 
218
 
219
  == Changelog ==
220
 
221
+ = 8.6.5 (2018-02-07) =
222
+ * Bugfix: Fixes 'Trying to get property of non-object' exception
223
+
224
  = 8.6.4 (2018-02-06) =
225
  * Bugfix: Styling fixes for Advanced Settings section
226
  * Bugfix: Fixes 'Missing argument' warning
718
  * Show Related Posts data status
719
 
720
  == Upgrade Notice ==
721
+ = 8.6.5 =
722
  We've improved the server connectivity check. If you've been getting the 'retry' error message after installing Shareaholic, this one is for you.
723
 
724
  = 8.6.1 =
shareaholic.php CHANGED
@@ -3,14 +3,14 @@
3
  * The main file!
4
  *
5
  * @package shareaholic
6
- * @version 8.6.4
7
  */
8
 
9
  /*
10
  Plugin Name: Shareaholic | share buttons, analytics, related content
11
  Plugin URI: https://shareaholic.com/publishers/
12
  Description: The world's leading all-in-one Content Amplification Platform that helps grow your website traffic, engagement, conversions & monetization. See <a href="admin.php?page=shareaholic-settings">configuration panel</a> for more settings.
13
- Version: 8.6.4
14
  Author: Shareaholic
15
  Author URI: https://shareaholic.com
16
  Text Domain: shareaholic
@@ -63,7 +63,7 @@ if (!class_exists('Shareaholic')) {
63
  const CM_API_URL = 'https://cm-web.shareaholic.com'; // uses static IPs for firewall whitelisting
64
  const REC_API_URL = 'http://recommendations.shareaholic.com';
65
 
66
- const VERSION = '8.6.4';
67
 
68
  /**
69
  * Starts off as false so that ::get_instance() returns
3
  * The main file!
4
  *
5
  * @package shareaholic
6
+ * @version 8.6.5
7
  */
8
 
9
  /*
10
  Plugin Name: Shareaholic | share buttons, analytics, related content
11
  Plugin URI: https://shareaholic.com/publishers/
12
  Description: The world's leading all-in-one Content Amplification Platform that helps grow your website traffic, engagement, conversions & monetization. See <a href="admin.php?page=shareaholic-settings">configuration panel</a> for more settings.
13
+ Version: 8.6.5
14
  Author: Shareaholic
15
  Author URI: https://shareaholic.com
16
  Text Domain: shareaholic
63
  const CM_API_URL = 'https://cm-web.shareaholic.com'; // uses static IPs for firewall whitelisting
64
  const REC_API_URL = 'http://recommendations.shareaholic.com';
65
 
66
+ const VERSION = '8.6.5';
67
 
68
  /**
69
  * Starts off as false so that ::get_instance() returns