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

Version Description

We update this plugin regularly so we can make it better for you. Update to the latest version for all of the available features and improvements. Thanks for using Shareaholic!

Download this release

Release Info

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

Code changes from version 8.13.9 to 8.13.10

Files changed (3) hide show
  1. readme.txt +5 -2
  2. shareaholic.php +3 -3
  3. utilities.php +5 -5
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: social, social sharing, google analytics, pinterest, twitter, share butto
4
  Requires at least: 3.7
5
  Tested up to: 5.2
6
  Requires PHP: 5.2
7
- Stable tag: 8.13.9
8
 
9
 
10
  Boost Audience Engagement with Award Winning Speed Optimized Social Tools: Share Buttons, Related Posts, Monetization & Google Analytics.
@@ -310,6 +310,9 @@ The default Shareaholic thumbnail width is 640px with dynamic height and no crop
310
  Each time you change Shareaholic's thumbnail dimensions like this, you will probably want to have WordPress regenerate appropriate sized thumbnails for all of your images. We highly recommend the [Regenerate Thumbnails](https://wordpress.org/plugins/regenerate-thumbnails/) plugin for this purpose.
311
 
312
  == Changelog ==
 
 
 
313
  = 8.13.9 (2019-09-19) =
314
  * Enhancement: Removed < IE10 specific compatibility code
315
  * Bugfix: Various fixes to Content Syncing
@@ -997,7 +1000,7 @@ Each time you change Shareaholic's thumbnail dimensions like this, you will prob
997
  * Show Related Posts data status
998
 
999
  == Upgrade Notice ==
1000
- = 8.13.9 =
1001
  We update this plugin regularly so we can make it better for you. Update to the latest version for all of the available features and improvements. Thanks for using Shareaholic!
1002
 
1003
  = 8.12.1 =
4
  Requires at least: 3.7
5
  Tested up to: 5.2
6
  Requires PHP: 5.2
7
+ Stable tag: 8.13.10
8
 
9
 
10
  Boost Audience Engagement with Award Winning Speed Optimized Social Tools: Share Buttons, Related Posts, Monetization & Google Analytics.
310
  Each time you change Shareaholic's thumbnail dimensions like this, you will probably want to have WordPress regenerate appropriate sized thumbnails for all of your images. We highly recommend the [Regenerate Thumbnails](https://wordpress.org/plugins/regenerate-thumbnails/) plugin for this purpose.
311
 
312
  == Changelog ==
313
+ = 8.13.10 (2019-09-19) =
314
+ * Bugfix: Fixes case where plugins list is not pristine
315
+
316
  = 8.13.9 (2019-09-19) =
317
  * Enhancement: Removed < IE10 specific compatibility code
318
  * Bugfix: Various fixes to Content Syncing
1000
  * Show Related Posts data status
1001
 
1002
  == Upgrade Notice ==
1003
+ = 8.13.10 =
1004
  We update this plugin regularly so we can make it better for you. Update to the latest version for all of the available features and improvements. Thanks for using Shareaholic!
1005
 
1006
  = 8.12.1 =
shareaholic.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Shareaholic - Grow and Engage Your Audience
4
  Plugin URI: https://www.shareaholic.com/website-tools/
5
  Description: Shareaholic’s official WordPress plugin allows you to add Award-Winning Social Share Buttons, Related Posts, Content Analytics, Ad Monetization, and more to your website.
6
- Version: 8.13.9
7
  Author: Shareaholic
8
  Author URI: https://www.shareaholic.com
9
  Text Domain: shareaholic
@@ -14,7 +14,7 @@ Domain Path: /languages
14
  * The main file!
15
  *
16
  * @package shareaholic
17
- * @version 8.13.9
18
  */
19
 
20
  /**
@@ -72,7 +72,7 @@ if (!class_exists('Shareaholic')) {
72
  const API_URL = 'https://web.shareaholic.com'; // uses static IPs for firewall whitelisting
73
  const CM_API_URL = 'https://cm-web.shareaholic.com'; // uses static IPs for firewall whitelisting
74
 
75
- const VERSION = '8.13.9';
76
 
77
  /**
78
  * Starts off as false so that ::get_instance() returns
3
  Plugin Name: Shareaholic - Grow and Engage Your Audience
4
  Plugin URI: https://www.shareaholic.com/website-tools/
5
  Description: Shareaholic’s official WordPress plugin allows you to add Award-Winning Social Share Buttons, Related Posts, Content Analytics, Ad Monetization, and more to your website.
6
+ Version: 8.13.10
7
  Author: Shareaholic
8
  Author URI: https://www.shareaholic.com
9
  Text Domain: shareaholic
14
  * The main file!
15
  *
16
  * @package shareaholic
17
+ * @version 8.13.10
18
  */
19
 
20
  /**
72
  const API_URL = 'https://web.shareaholic.com'; // uses static IPs for firewall whitelisting
73
  const CM_API_URL = 'https://cm-web.shareaholic.com'; // uses static IPs for firewall whitelisting
74
 
75
+ const VERSION = '8.13.10';
76
 
77
  /**
78
  * Starts off as false so that ::get_instance() returns
utilities.php CHANGED
@@ -659,22 +659,22 @@ class ShareaholicUtilities {
659
 
660
  return (isset($stats) ? $stats : array());
661
  }
662
-
663
  /**
664
  * Returns Active Plugins
665
  *
666
  */
667
  public static function get_active_plugins() {
668
- $plugins = get_option('active_plugins', array());
669
 
670
  if (is_multisite()) {
671
  $network_plugins = (array) get_site_option('active_sitewide_plugins', array());
672
- $plugins = array_merge($plugins, array_keys($network_plugins));
673
  }
674
 
675
- return (isset($plugins) ? array_unique($plugins) : array());
676
  }
677
-
678
  /**
679
  * Returns Local Share Count Proxy Status
680
  *
659
 
660
  return (isset($stats) ? $stats : array());
661
  }
662
+
663
  /**
664
  * Returns Active Plugins
665
  *
666
  */
667
  public static function get_active_plugins() {
668
+ $active_plugins = (array) get_option('active_plugins', array());
669
 
670
  if (is_multisite()) {
671
  $network_plugins = (array) get_site_option('active_sitewide_plugins', array());
672
+ $active_plugins = array_merge($active_plugins, array_keys($network_plugins));
673
  }
674
 
675
+ return (isset($active_plugins) ? array_values(array_unique($active_plugins)) : array());
676
  }
677
+
678
  /**
679
  * Returns Local Share Count Proxy Status
680
  *