Version Description
Introduces a brand-new unified Shareaholic Admin UI (in beta) and massive page speed gains
Download this release
Release Info
Developer | shareaholic |
Plugin | WordPress Social Tools, Related Posts, Monetization – Shareaholic |
Version | 8.12.0 |
Comparing to | |
See all releases |
Code changes from version 8.11.0 to 8.12.0
- admin.php +2 -4
- readme.txt +9 -41
- shareaholic.php +3 -3
- templates/admin_beta.php +6 -3
- templates/footer.php +3 -1
- templates/header.php +1 -1
- utilities.php +0 -10
admin.php
CHANGED
@@ -383,16 +383,14 @@ JQUERY;
|
|
383 |
'shareaholic-settings',
|
384 |
array('ShareaholicAdmin', 'admin')
|
385 |
);
|
386 |
-
/*
|
387 |
add_submenu_page(
|
388 |
'shareaholic-settings',
|
389 |
-
__('App Manager [beta]', 'shareaholic'),
|
390 |
-
__('App Manager [beta]', 'shareaholic'),
|
391 |
'manage_options',
|
392 |
'shareaholic-settings-beta',
|
393 |
array('ShareaholicAdmin', 'admin_beta')
|
394 |
);
|
395 |
-
*/
|
396 |
add_submenu_page(
|
397 |
'shareaholic-settings',
|
398 |
__('Advanced Settings', 'shareaholic'),
|
383 |
'shareaholic-settings',
|
384 |
array('ShareaholicAdmin', 'admin')
|
385 |
);
|
|
|
386 |
add_submenu_page(
|
387 |
'shareaholic-settings',
|
388 |
+
__('New App Manager [beta]', 'shareaholic'),
|
389 |
+
__('New App Manager [beta]', 'shareaholic'),
|
390 |
'manage_options',
|
391 |
'shareaholic-settings-beta',
|
392 |
array('ShareaholicAdmin', 'admin_beta')
|
393 |
);
|
|
|
394 |
add_submenu_page(
|
395 |
'shareaholic-settings',
|
396 |
__('Advanced Settings', 'shareaholic'),
|
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.1
|
6 |
Requires PHP: 5.2
|
7 |
-
Stable tag: 8.
|
8 |
|
9 |
|
10 |
Improve Audience Engagement with Award Winning Site-Speed Optimized Social Tools: Share Buttons, Related Posts, Monetization & Google Analytics.
|
@@ -267,7 +267,12 @@ 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.
|
|
|
|
|
|
|
|
|
|
|
271 |
* Enhancement: Massive page speed gains = 50% faster load times on your site!
|
272 |
* Bugfix: Fixed issue with some themes rendering Shareaholic Apps multiple times
|
273 |
|
@@ -870,8 +875,8 @@ Each time you change Shareaholic's thumbnail dimensions like this, you will prob
|
|
870 |
* Show Related Posts data status
|
871 |
|
872 |
== Upgrade Notice ==
|
873 |
-
= 8.
|
874 |
-
|
875 |
|
876 |
= 8.10.7 =
|
877 |
W3C validation improvements
|
@@ -888,32 +893,16 @@ New themes, improved content syncing for more accurate Related Content and Analy
|
|
888 |
= 8.10.3 =
|
889 |
New option to include <code>%author%</code> tag for Share Count Recovery
|
890 |
|
891 |
-
= 8.10.2 =
|
892 |
-
|
893 |
-
Various reliablity improvements
|
894 |
-
|
895 |
-
= 8.10.1 =
|
896 |
-
|
897 |
-
Various reliablity improvements
|
898 |
-
|
899 |
-
= 8.10.0 =
|
900 |
-
|
901 |
-
Various reliablity improvements
|
902 |
-
|
903 |
= 8.9.1 =
|
904 |
-
|
905 |
Critical fix for bug introduced in last release; fixes JS references
|
906 |
|
907 |
= 8.9.0 =
|
908 |
-
|
909 |
Various speed improvements and bug fixes
|
910 |
|
911 |
= 8.8.4 =
|
912 |
-
|
913 |
Adds support for additional Structure Tags for Share Count Recovery
|
914 |
|
915 |
= 8.8.3 =
|
916 |
-
|
917 |
New Share and Follow Buttons! Plus compatability with WP Rocket
|
918 |
|
919 |
= 8.8.2 =
|
@@ -925,12 +914,6 @@ General maintenance release
|
|
925 |
= 8.8.0 =
|
926 |
Fixed Share Buttons configurator. Icon drag and drop now works. Update also includes new theme options for Related Posts.
|
927 |
|
928 |
-
= 8.7.2 =
|
929 |
-
Various performance updates and bug fixes
|
930 |
-
|
931 |
-
= 8.7.1 =
|
932 |
-
Various performance updates and bug fixes
|
933 |
-
|
934 |
= 8.7.0 =
|
935 |
* Several performance upgrades to make Shareaholic EVEN FASTER!!
|
936 |
* Performance Enhancement: Settings file is now loaded from a globally distributed CDN (Amazon), which will make Shareaholic faster on your site
|
@@ -954,12 +937,6 @@ Huge localization update!
|
|
954 |
= 8.5.3 =
|
955 |
Some hosting companies are incorrectly flagging "index.html" as malware. This is a standard file and there is absolutely no reason to panic or be concerned. This update fixes the cause of the false positive. Please upgrade ASAP as a precaution.
|
956 |
|
957 |
-
= 8.5.2 =
|
958 |
-
Various performance updates and bug fixes
|
959 |
-
|
960 |
-
= 8.5.1 =
|
961 |
-
Various performance updates and bug fixes
|
962 |
-
|
963 |
= 8.5.0 =
|
964 |
Various enhancements and Social Share Count Recovery in cases where permalink structure changes
|
965 |
|
@@ -975,15 +952,6 @@ More robust cache busting. Added support for WPEngine cache engine (Memcached, M
|
|
975 |
= 8.4.1 =
|
976 |
Critical bugfix for older versions of PHP
|
977 |
|
978 |
-
= 8.4.0 =
|
979 |
-
Various bug fixes and enhancements
|
980 |
-
|
981 |
-
= 8.3.1 =
|
982 |
-
Various bug fixes and enhancements
|
983 |
-
|
984 |
-
= 8.3.0 =
|
985 |
-
Various bug fixes and enhancements
|
986 |
-
|
987 |
= 8.2.0 =
|
988 |
* Must Upgrade! Enhancements to Social Share Count Recovery - adds support for case where permalink structure changes, Share Buttons for Images (Image Sharer) and introducing Teams.
|
989 |
|
4 |
Requires at least: 3.3
|
5 |
Tested up to: 5.1
|
6 |
Requires PHP: 5.2
|
7 |
+
Stable tag: 8.12.0
|
8 |
|
9 |
|
10 |
Improve 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.0 (2019-03-21) =
|
271 |
+
* Enhancement: Representing months of hardwork, this release introduces a brand-new unified Shareaholic Admin UI (in beta)! In addition to the regular App Manager tab, you will notice a brand new secondary App Manager tab in your sidebar labed _beta_. For the first time, all Shareaholic Cloud settings are now available to view and configure right from your WordPress Admin Dashboard. Please do try it out and let us know if it works well for you. This is in beta, so please do send us any and all feedback either via Live Chat or via our [helpdesk contact](https://www.shareaholic.com/help/message).
|
272 |
+
* Bugfix: Fixes edge cases where Facebook tried to cache preview meta data before a post was live
|
273 |
+
* Bugfix: Yummly Share Counts
|
274 |
+
|
275 |
+
= 8.11.0 (2019-02-15) =
|
276 |
* Enhancement: Massive page speed gains = 50% faster load times on your site!
|
277 |
* Bugfix: Fixed issue with some themes rendering Shareaholic Apps multiple times
|
278 |
|
875 |
* Show Related Posts data status
|
876 |
|
877 |
== Upgrade Notice ==
|
878 |
+
= 8.12.0 =
|
879 |
+
Introduces a brand-new unified Shareaholic Admin UI (in beta) and massive page speed gains = 50% faster load times on your site! This update also fixes issue with some themes rendering Shareaholic Apps multiple times. This one is a must upgrade!
|
880 |
|
881 |
= 8.10.7 =
|
882 |
W3C validation improvements
|
893 |
= 8.10.3 =
|
894 |
New option to include <code>%author%</code> tag for Share Count Recovery
|
895 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
896 |
= 8.9.1 =
|
|
|
897 |
Critical fix for bug introduced in last release; fixes JS references
|
898 |
|
899 |
= 8.9.0 =
|
|
|
900 |
Various speed improvements and bug fixes
|
901 |
|
902 |
= 8.8.4 =
|
|
|
903 |
Adds support for additional Structure Tags for Share Count Recovery
|
904 |
|
905 |
= 8.8.3 =
|
|
|
906 |
New Share and Follow Buttons! Plus compatability with WP Rocket
|
907 |
|
908 |
= 8.8.2 =
|
914 |
= 8.8.0 =
|
915 |
Fixed Share Buttons configurator. Icon drag and drop now works. Update also includes new theme options for Related Posts.
|
916 |
|
|
|
|
|
|
|
|
|
|
|
|
|
917 |
= 8.7.0 =
|
918 |
* Several performance upgrades to make Shareaholic EVEN FASTER!!
|
919 |
* Performance Enhancement: Settings file is now loaded from a globally distributed CDN (Amazon), which will make Shareaholic faster on your site
|
937 |
= 8.5.3 =
|
938 |
Some hosting companies are incorrectly flagging "index.html" as malware. This is a standard file and there is absolutely no reason to panic or be concerned. This update fixes the cause of the false positive. Please upgrade ASAP as a precaution.
|
939 |
|
|
|
|
|
|
|
|
|
|
|
|
|
940 |
= 8.5.0 =
|
941 |
Various enhancements and Social Share Count Recovery in cases where permalink structure changes
|
942 |
|
952 |
= 8.4.1 =
|
953 |
Critical bugfix for older versions of PHP
|
954 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
955 |
= 8.2.0 =
|
956 |
* Must Upgrade! Enhancements to Social Share Count Recovery - adds support for case where permalink structure changes, Share Buttons for Images (Image Sharer) and introducing Teams.
|
957 |
|
shareaholic.php
CHANGED
@@ -3,14 +3,14 @@
|
|
3 |
* The main file!
|
4 |
*
|
5 |
* @package shareaholic
|
6 |
-
* @version 8.
|
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.
|
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.12.0
|
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.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.12.0';
|
65 |
|
66 |
/**
|
67 |
* Starts off as false so that ::get_instance() returns
|
templates/admin_beta.php
CHANGED
@@ -11,15 +11,18 @@
|
|
11 |
serviceHost: "<?php echo Shareaholic::URL ?>",
|
12 |
assetHost: "<?php echo ShareaholicUtilities::asset_url_admin() ?>",
|
13 |
assetFolders: true,
|
14 |
-
origin: "wp_plugin"
|
|
|
15 |
};
|
16 |
</script>
|
17 |
|
18 |
<div id="root" class="shr-site-settings"></div>
|
19 |
|
20 |
-
<script src="<?php echo ShareaholicUtilities::asset_url_admin('ui-site-settings/loader.js') ?>"></script>
|
21 |
</div>
|
22 |
|
23 |
<?php } ?>
|
24 |
|
25 |
-
<?php ShareaholicAdmin::include_chat(); ?>
|
|
|
|
11 |
serviceHost: "<?php echo Shareaholic::URL ?>",
|
12 |
assetHost: "<?php echo ShareaholicUtilities::asset_url_admin() ?>",
|
13 |
assetFolders: true,
|
14 |
+
origin: "wp_plugin",
|
15 |
+
language: "<?php echo strtolower(get_bloginfo('language')) ?>"
|
16 |
};
|
17 |
</script>
|
18 |
|
19 |
<div id="root" class="shr-site-settings"></div>
|
20 |
|
21 |
+
<script class="shr-app-loader__site-settings" src="<?php echo ShareaholicUtilities::asset_url_admin('ui-site-settings/loader.js') ?>"></script>
|
22 |
</div>
|
23 |
|
24 |
<?php } ?>
|
25 |
|
26 |
+
<?php ShareaholicAdmin::include_chat(); ?>
|
27 |
+
|
28 |
+
<script src="https://dsms0mj1bbhn4.cloudfront.net/assets/pub/loader-reachable.js" async></script>
|
templates/footer.php
CHANGED
@@ -22,4 +22,6 @@ _hsq.push(["setContentType", "standard-page"]);
|
|
22 |
e.parentNode.insertBefore(n, e);
|
23 |
})(document, "script", "hs-analytics",300000);
|
24 |
</script>
|
25 |
-
<!-- End of Async HubSpot Analytics Code -->
|
|
|
|
22 |
e.parentNode.insertBefore(n, e);
|
23 |
})(document, "script", "hs-analytics",300000);
|
24 |
</script>
|
25 |
+
<!-- End of Async HubSpot Analytics Code -->
|
26 |
+
|
27 |
+
<script src="https://dsms0mj1bbhn4.cloudfront.net/assets/pub/loader-reachable.js" async></script>
|
templates/header.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<!-- Header - start -->
|
2 |
<div id="shr-header-container"></div>
|
3 |
-
<script src="<?php echo ShareaholicUtilities::asset_url_admin('ui-header/loader.js') ?>"></script>
|
4 |
<!-- Header - end -->
|
5 |
|
6 |
<script>
|
1 |
<!-- Header - start -->
|
2 |
<div id="shr-header-container"></div>
|
3 |
+
<script class="shr-app-loader shr-app-loader__header" src="<?php echo ShareaholicUtilities::asset_url_admin('ui-header/loader.js') ?>"></script>
|
4 |
<!-- Header - end -->
|
5 |
|
6 |
<script>
|
utilities.php
CHANGED
@@ -1437,7 +1437,6 @@ class ShareaholicUtilities {
|
|
1437 |
|
1438 |
if ($new_status == 'publish') {
|
1439 |
// Post was just published
|
1440 |
-
ShareaholicUtilities::clear_fb_opengraph(get_permalink($post->ID));
|
1441 |
ShareaholicUtilities::notify_content_manager_singlepage($post);
|
1442 |
}
|
1443 |
if ($old_status == 'publish' && $new_status != 'publish') {
|
@@ -1446,15 +1445,6 @@ class ShareaholicUtilities {
|
|
1446 |
}
|
1447 |
}
|
1448 |
|
1449 |
-
/**
|
1450 |
-
* Clears Facebook Open Graph cache for provided URL
|
1451 |
-
*
|
1452 |
-
* @param string $url
|
1453 |
-
*/
|
1454 |
-
public static function clear_fb_opengraph($url) {
|
1455 |
-
$fb_graph_url = "https://graph.facebook.com/?id=". urlencode($url) ."&scrape=true";
|
1456 |
-
$result = wp_remote_post ($fb_graph_url);
|
1457 |
-
}
|
1458 |
|
1459 |
/**
|
1460 |
* Server Connectivity check
|
1437 |
|
1438 |
if ($new_status == 'publish') {
|
1439 |
// Post was just published
|
|
|
1440 |
ShareaholicUtilities::notify_content_manager_singlepage($post);
|
1441 |
}
|
1442 |
if ($old_status == 'publish' && $new_status != 'publish') {
|
1445 |
}
|
1446 |
}
|
1447 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1448 |
|
1449 |
/**
|
1450 |
* Server Connectivity check
|