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

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.12.6
Comparing to
See all releases

Code changes from version 8.12.5 to 8.12.6

Files changed (5) hide show
  1. admin.php +8 -8
  2. public.php +3 -3
  3. readme.txt +6 -2
  4. shareaholic.php +3 -3
  5. utilities.php +4 -4
admin.php CHANGED
@@ -388,19 +388,19 @@ JQUERY;
388
  );
389
  add_submenu_page(
390
  'shareaholic-settings',
391
- __('App Manager', 'shareaholic'),
392
- __('App Manager', 'shareaholic'),
393
  'manage_options',
394
  'shareaholic-settings',
395
  array('ShareaholicAdmin', 'admin')
396
  );
397
  add_submenu_page(
398
  'shareaholic-settings',
399
- __('New App Manager [beta]', 'shareaholic'),
400
- __('New App Manager [beta]', 'shareaholic'),
401
  'manage_options',
402
- 'shareaholic-settings-beta',
403
- array('ShareaholicAdmin', 'admin_beta')
404
  );
405
  add_submenu_page(
406
  'shareaholic-settings',
@@ -423,7 +423,7 @@ JQUERY;
423
  /**
424
  * Updates the information if passed in and sets save message.
425
  */
426
- public static function admin() {
427
  $settings = ShareaholicUtilities::get_settings();
428
  $action = str_replace( '%7E', '~', $_SERVER['REQUEST_URI']);
429
  if(isset($_POST['already_submitted']) && $_POST['already_submitted'] == 'Y' &&
@@ -493,7 +493,7 @@ JQUERY;
493
  /**
494
  * The function for the admin beta section
495
  */
496
- public static function admin_beta() {
497
 
498
  if (!ShareaholicUtilities::has_accepted_terms_of_service()) {
499
  ShareaholicUtilities::load_template('terms_of_service_modal', array(
388
  );
389
  add_submenu_page(
390
  'shareaholic-settings',
391
+ __('App Manager [beta]', 'shareaholic'),
392
+ __('App Manager [beta]', 'shareaholic'),
393
  'manage_options',
394
  'shareaholic-settings',
395
  array('ShareaholicAdmin', 'admin')
396
  );
397
  add_submenu_page(
398
  'shareaholic-settings',
399
+ __('App Manager [legacy]', 'shareaholic'),
400
+ __('App Manager [legacy]', 'shareaholic'),
401
  'manage_options',
402
+ 'shareaholic-settings-legacy',
403
+ array('ShareaholicAdmin', 'admin_legacy')
404
  );
405
  add_submenu_page(
406
  'shareaholic-settings',
423
  /**
424
  * Updates the information if passed in and sets save message.
425
  */
426
+ public static function admin_legacy() {
427
  $settings = ShareaholicUtilities::get_settings();
428
  $action = str_replace( '%7E', '~', $_SERVER['REQUEST_URI']);
429
  if(isset($_POST['already_submitted']) && $_POST['already_submitted'] == 'Y' &&
493
  /**
494
  * The function for the admin beta section
495
  */
496
+ public static function admin() {
497
 
498
  if (!ShareaholicUtilities::has_accepted_terms_of_service()) {
499
  ShareaholicUtilities::load_template('terms_of_service_modal', array(
public.php CHANGED
@@ -61,9 +61,9 @@ class ShareaholicPublic {
61
  if ('dns-prefetch' === $relation_type) {
62
  if ($hints) {
63
  array_push($hints,
64
- '//dsms0mj1bbhn4.cloudfront.net',
65
- '//apps.shareaholic.com',
66
- '//grace.shareaholic.com',
67
  '//analytics.shareaholic.com',
68
  '//recs.shareaholic.com',
69
  '//go.shareaholic.com',
61
  if ('dns-prefetch' === $relation_type) {
62
  if ($hints) {
63
  array_push($hints,
64
+ '//k4z6w9b5.stackpathcdn.com',
65
+ '//cdn.shareaholic.net',
66
+ '//www.shareaholic.net',
67
  '//analytics.shareaholic.com',
68
  '//recs.shareaholic.com',
69
  '//go.shareaholic.com',
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: buttons, related posts, google analytics, share buttons, social sharing,
4
  Requires at least: 3.3
5
  Tested up to: 5.2
6
  Requires PHP: 5.2
7
- Stable tag: 8.12.5
8
 
9
 
10
  Boost Audience Engagement with Award Winning Site-Speed Optimized Social Tools: Share Buttons, Related Posts, Monetization & Google Analytics.
@@ -267,6 +267,10 @@ The default Shareaholic thumbnail width is 640px with dynamic height and no crop
267
  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.
268
 
269
  == Changelog ==
 
 
 
 
270
  = 8.12.5 (2019-05-02) =
271
  * Tested up to WordPress 5.2
272
 
@@ -892,7 +896,7 @@ Each time you change Shareaholic's thumbnail dimensions like this, you will prob
892
  * Show Related Posts data status
893
 
894
  == Upgrade Notice ==
895
- = 8.12.5 =
896
  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!
897
 
898
  = 8.12.1 =
4
  Requires at least: 3.3
5
  Tested up to: 5.2
6
  Requires PHP: 5.2
7
+ Stable tag: 8.12.6
8
 
9
 
10
  Boost Audience Engagement with Award Winning Site-Speed Optimized Social Tools: Share Buttons, Related Posts, Monetization & Google Analytics.
267
  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.
268
 
269
  == Changelog ==
270
+ = 8.12.6 (2019-05-06) =
271
+ * Updated Admin Submenu order
272
+ * Updated CDN path
273
+
274
  = 8.12.5 (2019-05-02) =
275
  * Tested up to WordPress 5.2
276
 
896
  * Show Related Posts data status
897
 
898
  == Upgrade Notice ==
899
+ = 8.12.6 =
900
  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!
901
 
902
  = 8.12.1 =
shareaholic.php CHANGED
@@ -3,14 +3,14 @@
3
  * The main file!
4
  *
5
  * @package shareaholic
6
- * @version 8.12.5
7
  */
8
 
9
  /*
10
  Plugin Name: Fast Share Buttons, Analytics, Related Posts and More - Shareaholic
11
  Plugin URI: https://www.shareaholic.com/website-tools/
12
  Description: The award winning all-in-one Social Media and Related Posts solution for WordPress. Get found on social and grow your following. See <a href="admin.php?page=shareaholic-settings">configuration panel</a> for settings.
13
- Version: 8.12.5
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.12.5';
65
 
66
  /**
67
  * Starts off as false so that ::get_instance() returns
3
  * The main file!
4
  *
5
  * @package shareaholic
6
+ * @version 8.12.6
7
  */
8
 
9
  /*
10
  Plugin Name: Fast Share Buttons, Analytics, Related Posts and More - Shareaholic
11
  Plugin URI: https://www.shareaholic.com/website-tools/
12
  Description: The award winning all-in-one Social Media and Related Posts solution for WordPress. Get found on social and grow your following. See <a href="admin.php?page=shareaholic-settings">configuration panel</a> for settings.
13
+ Version: 8.12.6
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.12.6';
65
 
66
  /**
67
  * Starts off as false so that ::get_instance() returns
utilities.php CHANGED
@@ -423,7 +423,7 @@ class ShareaholicUtilities {
423
  } elseif ($env === 'staging') {
424
  return '//d2062rwknz205x.cloudfront.net/' . $asset;
425
  } else {
426
- return '//dsms0mj1bbhn4.cloudfront.net/' . $asset;
427
  }
428
  }
429
 
@@ -449,7 +449,7 @@ class ShareaholicUtilities {
449
  } elseif (preg_match('/stageaholic/', Shareaholic::URL)) {
450
  return 'https://d2062rwknz205x.cloudfront.net/' . $asset;
451
  } else {
452
- return 'https://dsms0mj1bbhn4.cloudfront.net/' . $asset;
453
  }
454
  }
455
 
@@ -1319,8 +1319,8 @@ class ShareaholicUtilities {
1319
  */
1320
  function rocket_exclude_js($excluded_external) {
1321
  if (defined('WP_ROCKET_VERSION')) {
1322
- $excluded_external[] = 'apps.shareaholic.com';
1323
- $excluded_external[] = 'dsms0mj1bbhn4.cloudfront.net';
1324
 
1325
  return $excluded_external;
1326
  }
423
  } elseif ($env === 'staging') {
424
  return '//d2062rwknz205x.cloudfront.net/' . $asset;
425
  } else {
426
+ return '//cdn.shareaholic.net/' . $asset;
427
  }
428
  }
429
 
449
  } elseif (preg_match('/stageaholic/', Shareaholic::URL)) {
450
  return 'https://d2062rwknz205x.cloudfront.net/' . $asset;
451
  } else {
452
+ return 'https://cdn.shareaholic.net/' . $asset;
453
  }
454
  }
455
 
1319
  */
1320
  function rocket_exclude_js($excluded_external) {
1321
  if (defined('WP_ROCKET_VERSION')) {
1322
+ $excluded_external[] = 'cdn.shareaholic.net';
1323
+ $excluded_external[] = 'k4z6w9b5.stackpathcdn.com';
1324
 
1325
  return $excluded_external;
1326
  }