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

Version Description

We've been very busy! - New: Bots vs. Humans site analytics - New: Skype share button - New: Share Buttons automatically hide when a page is being printed so that it doesn't cover any of your content. - New: Emoji support added for Twitter templates! - Enhancement: Added IPV6 support for Cookie Notice App for improved Geo accuracy - Enhancement: utf8mb4 support upgrade. This greatly expands the language usability of Shareaholic, especially in countries that use (Han character sets)https://en.wikipedia.org/wiki/Han_unification. - Enhancement: Added hide/show functionality to Floated Share Buttons. Your visitors can now hide the Floated Share Bar at any time, for instance, if it is covering content. They're also animated now! - Enhancement: Related Content App now "lazy loads". This means the app will only load if a visitor begins to scroll. This is should speed up your page loads. - Enhancement: Better accessibility / screen reader support - Enhancement: Big improvements to the Related Content recommendation engine - Various performance updates and bug fixes

Download this release

Release Info

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

Code changes from version 7.8.0.6 to 7.9.0.0

Files changed (3) hide show
  1. readme.txt +19 -230
  2. shareaholic.php +3 -3
  3. utilities.php +2 -2
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: shareaholic
3
  Tags: share buttons, related content, cookie compliance, eu cookie law, shareaholic, shareholic, sexybookmarks, recommendations, cookie consent, email button, social sharing, social bookmarking, share image, image sharing, follow buttons, floated share buttons, floating share buttons, analytics, social media, social plugin, facebook, twitter, google plus, google bookmarks, gmail, linkedin, pinterest, reddit, tumblr, evernote, digg, delicious, stumbleupon, printfriendly, fancy, amazon, xing, vk, yahoo, mister wong, viadeo, odnoklassniki box.net, diigo, yammer, ycombinator, hotmail, instapaper, mixi, arto, whatsapp, hootsuite, inbound.org, plurk, aim, buffer, meneame, pinboard.in, stumpedia, bitly, blogger, yummly, izeby, kaboodle, weibo, instagram, tinyurl, typepad, weheartit, flipboard, pocket, wanelo, fark, wykop, symphony, kindle, houzz, youtube, sms, onenote, google classroom, disqus, spotify, zillow, feedly, kik, line, livejournal, baidu
4
  Requires at least: 3.0
5
- Tested up to: 4.7
6
- Stable tag: 7.8.0.6
7
 
8
  World's leading all-in-one Content Amplification Platform that helps grow your site traffic, engagement, conversions & monetization for FREE.
9
 
@@ -194,6 +194,20 @@ Please see here: [Usage & Installation Instructions](http://support.shareaholic.
194
 
195
  == Changelog ==
196
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
197
  = 7.8.0.6 =
198
  * Bugfix: Fixed admin bar link
199
  * Bugfix: Properly escape meta tags values
@@ -810,236 +824,11 @@ Please see here: [Usage & Installation Instructions](http://support.shareaholic.
810
  * Analytics: meet the people who spread your content the most
811
  * Faster Twitter loading
812
 
813
- = 3.3.12 =
814
- * Added "Share Count" support for Google Buzz
815
- * Cleaned up folder structure
816
- * Tweaks for mobile browsers (iphone, ipod, etc)
817
-
818
- = 3.3.11 =
819
- * Google hosted jQuery now only loads if not already present on page (plugin needs jQuery 1.4.4+)
820
- * Various bug fixes for "new" mode
821
- * Added a new default_spritegen directory structure that will fetch the sprite files in case spritegen directory is not accessible
822
- * Twitter now also opens an overlay on the same page for easier sharing in "old" mode
823
-
824
- = 3.3.10 =
825
- * Added default sprite & css files for added compatibility
826
- * Fixed short tags php bug that crept in v3.3.9
827
-
828
- = 3.3.9 =
829
- * WP-Minify plugin compatibility mode fix
830
- * Share Counter bug fix
831
- * Improved performance by switching to a single JavaScript load instead of two in "new" mode
832
-
833
- = 3.3.8 =
834
- * "New" mode is now turned on by default
835
- * Added a notice for Admins if spritegen directory isn't writable (http://goo.gl/LjuxD)
836
- * Twitter now opens an overlay on the same page for easier sharing
837
-
838
- = 3.3.7 =
839
- * Cleaned up spritegen directory structure
840
- * Correctly encoding foreign language characters in Twitter template
841
- * Show PHP 5 upgrade message to only admins
842
- * Misc performance upgrades
843
- * Updated Arabic translation (by [Modar Soos](http://www.sada-sy.com))
844
-
845
- = 3.3.6 =
846
- * New API endpoint to show the Share Count for your website
847
- * Compatibility fixes for older WP installs
848
-
849
- = 3.3.5 =
850
- * Fix for PHP 4 users
851
-
852
- = 3.3.4 =
853
- * MAJOR UPDATE: URL shortening now 100% faster, better, smarter -- we moved the shortening function to the Share API for much improved reliability
854
- * Removed support for unreliable URL shorteners - snip, cligs and tinyarrows
855
- * Removed support for Yahoo! Buzz (service is shutting down)
856
- * Updated Arabic translation (by [Modar Soos](http://www.sada-sy.com))
857
- * Updated all MO translation files
858
-
859
- = 3.3.2 =
860
- * Quick fix for admin menu PHP error
861
-
862
- = 3.3.1 =
863
- * Fix for W3C validation errors (thanks to [Maitre Mo](http://maitremo.fr))
864
- * Fix for Twitter breaking for certain custom templates
865
- * Removed support for sl.ly URL shortener due to poor performance
866
- * Revamped sidebar menu
867
-
868
- = 3.2.12 =
869
- * Updated Twitter definition
870
- * Various jQuery related bug fixes
871
-
872
- = 3.2.11 =
873
- * Lots of fixes to the beta thanks to your feedback. We're getting close to switching over completely!
874
- * Much improved jQuery conflict detection for beta users
875
- * New alert that reminds users to re-save their settings on upgrade
876
- * Switched over to use the Share API (http://shareapi.com)
877
-
878
- = 3.2.10 =
879
- * Share Counters for Twitter and Facebook! (beta exclusive)
880
- * Admin toggle for Shareaholic promo link
881
-
882
- = 3.2.9 =
883
- * Fix for a W3C validation error
884
- * Updated Arabic translation (by [Modar Soos](http://www.sada-sy.com))
885
- * Updated French translation (by [Maitre Mo](http://maitremo.fr))
886
- * Updated Portuguese (Brazil) translation (by [Barukar](http://www.classinoiva.com.br))
887
- * Includes link to Shareaholic Browser Tools
888
-
889
- = 3.2.8 =
890
- * Fix for Arras theme
891
- * Depreciating `selfserv_sexy()` function. It has been replaced with `selfserv_shareaholic()`
892
- * Admin toggle for Perf script
893
-
894
- = 3.2.7 =
895
- * Adds support for Google's URL shortener (goo.gl)
896
- * Updated Bit.ly shortening
897
- * Updated Greek translation (by [Nick Mouratidis](http://www.kepik.gr))
898
-
899
- = 3.2.6 =
900
- * Quick fix for admin area (icons)
901
-
902
- = 3.2.5 =
903
- * Fixes slow page load issue
904
- * Compatibility fixes for WP v3.0.3
905
- * xhtml compliance fix
906
- * Updated "Most Popular" services list
907
- * Service list now has titles! Find services in a snap
908
-
909
- = 3.2.4.2 =
910
- * Removed warning messages about WP_FOOTER and WP_HEAD
911
-
912
- = 3.2.4.1 =
913
- * Fixed SAFE_MODE issue regarding fopen()
914
- * Fixed mkdir() issue by changing to wp_mkdir_p()
915
- * Fixed $d_tags and $keywords undefined problem
916
- * Fixed typo in request URL leading to errors being returned
917
- * Fixed manual mode when using BETA
918
- * Removed timeout from http request
919
-
920
- = 3.2.4 =
921
- * Complete re-write to increase efficiency and speed
922
-
923
- = 3.2.3.1 =
924
- * Small bug fix for short URLs when cURL not enabled
925
- * Removed Fleck as it no longer exists
926
- * Removed "Load scripts in footer" from default settings
927
-
928
- = 3.2.3 =
929
- * Added urldecode() to bitly and supr JSON requests
930
- * Removed fopen() from the sprite request, now uses the WP http api
931
- * Updated translation folder definition to filesystem path
932
- * Updated the Italian translation
933
-
934
- = 3.2.2 =
935
- * Added Portuguese translation (pt_PT)
936
- * Fixed problem with su.pr short URLs not working
937
- * Fixed persistent bug from 3.2
938
- * Fixed error in stylesheet name
939
- * Added referrer to API request
940
-
941
- = 3.2.1.1.2 =
942
- * Fixed JS counter
943
- * Complete revamp of naming scheme
944
-
945
- = 3.2.1.1.1 =
946
- * Better activation hook to check old naming scheme
947
-
948
- = 3.2.1.1 =
949
- * Fixed charset problem with htmlspecialchars()
950
- * Names are now automatically replaced from sexy- to shr- upon upgrade/activation
951
- * Fixed issue causing one icon to display multiple times
952
- * Fixed expanding blank space issue
953
- * Fixed caching issue by adding version number to file names rather than as parameters
954
-
955
- = 3.2 =
956
- * Resolved security issue
957
- * Added Buzzster!, Yahoo! Mail, Gmail, & Hotmail
958
- * Fixed GoogleBuzz link (didn't validate)
959
- * Fixed mailto link
960
- * Changed jQuery to $ in all scripts (with noconflict)
961
- * Changed all CSS classes from sexy- to shr- in public css
962
- * Renamed images from sexy- to shr-
963
- * Added new Google Reader and Twitter icons
964
- * Integrated new "configure tweet" method
965
- * Removed twitter ID field
966
- * Updated custom mods function with new image names
967
- * Custom mods function now copies style-dev.css rather than the minified (style.css)
968
- * Dynamic Sprite Generator API now live for everyone to use!
969
- * Tested with WP3.0 (passed with flying colors!)
970
- * Added feature to automagically reset all short URLs when you select a new service
971
- * Added option to display menu above AND below content
972
- * Updated translations
973
-
974
- = 3.1.3 =
975
- * Added Settings link to plugin display panel
976
- * Fixed issue with feed not displaying links properly
977
- * Small admin changes
978
- * Final fix for annoying bullets in menu
979
-
980
- = 3.1.2 =
981
- * Fixed accessibility issue with RTL languages
982
- * Fixed validity issue with links (unescaped ampersands)
983
- * Fixed issue with icons not appearing correctly for Google Reader and Google Bookmarks
984
-
985
- = 3.1.1 =
986
- * Quick bug fix for the bug that appeared immediately after releasing 3.1
987
-
988
- = 3.1 =
989
- * Many improvements in the coding efficiency
990
- * Removed Devmarks as it no longer exists
991
- * Updated the old Google Bookmarks icon
992
- * Added new feature to Mister-Wong so that now the *.com* extension is replaced dynamically based on your locale
993
- * Removed DesignMoo and Blogosphere News
994
- * Added DZone
995
- * Added Kaevur (Estonian)
996
- * Added Virb
997
- * Added Box.net
998
- * Added Google Reader
999
- * Added Bonzobox
1000
- * Added Zabox
1001
- * Added OkNotizie (Italian)
1002
- * Added Springpad
1003
- * Added Plaxo
1004
- * Added Viadeo
1005
- * Added Google Buzz
1006
-
1007
- = 3.0.1 =
1008
- * Fix for fatal error if you downloaded v3.0 before `8:30am CST on Feb 1st, 2010`
1009
- * Fix for Google Bookmarks image not displaying correctly
1010
- * Fix for spritegen not working if wordpress installed in subdirectory
1011
- * Spritegen now outputs minified CSS as well
1012
- * Added activation hook to generate sprite automatically upon activating the plugin
1013
-
1014
- = 3.0 =
1015
- * New Sprite Image is generated when you save options (If you have PHP5 or above with PHPGD, & don't have custom mods feature on)
1016
- * Also reduced the size of the images with Smush It
1017
- * Separated Background Images
1018
- * Fixed Translation Strings
1019
- * Added option to load javascript in blog's footer
1020
- * Added compatibility with YOURLS plugin
1021
- * Added Settings link in plugin's information section
1022
- * Many improvements in the coding efficiency
1023
- * Minified public JS
1024
- * Added DZone
1025
- * Added Kaevur (Estonian)
1026
- * Added Virb
1027
- * Added Box.net
1028
- * Removed Devmarks as it no longer exists
1029
- * Added Google Reader
1030
- * Updated the old Google Bookmarks icon
1031
- * Added Bonzobox
1032
- * Added Zabox
1033
- * Added OkNotizie (Italian)
1034
- * Added Springpad
1035
- * Added Plaxo
1036
- * Added Viadeo
1037
- * Added option to allow you to NOT use a URL shortener if you so choose
1038
- * Added new feature to Mister-Wong so that now the *.com* extension is replaced dynamically based on your locale
1039
- * Minified stylesheet to save a couple KB
1040
-
1041
  == Upgrade Notice ==
1042
 
 
 
 
1043
  = 7.8.0.6 =
1044
  Various enhancements
1045
 
2
  Contributors: shareaholic
3
  Tags: share buttons, related content, cookie compliance, eu cookie law, shareaholic, shareholic, sexybookmarks, recommendations, cookie consent, email button, social sharing, social bookmarking, share image, image sharing, follow buttons, floated share buttons, floating share buttons, analytics, social media, social plugin, facebook, twitter, google plus, google bookmarks, gmail, linkedin, pinterest, reddit, tumblr, evernote, digg, delicious, stumbleupon, printfriendly, fancy, amazon, xing, vk, yahoo, mister wong, viadeo, odnoklassniki box.net, diigo, yammer, ycombinator, hotmail, instapaper, mixi, arto, whatsapp, hootsuite, inbound.org, plurk, aim, buffer, meneame, pinboard.in, stumpedia, bitly, blogger, yummly, izeby, kaboodle, weibo, instagram, tinyurl, typepad, weheartit, flipboard, pocket, wanelo, fark, wykop, symphony, kindle, houzz, youtube, sms, onenote, google classroom, disqus, spotify, zillow, feedly, kik, line, livejournal, baidu
4
  Requires at least: 3.0
5
+ Tested up to: 4.8
6
+ Stable tag: 7.9.0.0
7
 
8
  World's leading all-in-one Content Amplification Platform that helps grow your site traffic, engagement, conversions & monetization for FREE.
9
 
194
 
195
  == Changelog ==
196
 
197
+ = 7.9.0.0 =
198
+ We've been very busy!
199
+ - New: [Bots vs. Humans site analytics](https://support.shareaholic.com/hc/en-us/articles/115002299663)
200
+ - New: Skype share button
201
+ - New: Share Buttons automatically hide when a page is being printed so that it doesn't cover any of your content.
202
+ - New: Emoji support added for Twitter templates! 😁😍😎
203
+ - Enhancement: Added IPV6 support for Cookie Notice App for improved Geo accuracy
204
+ - Enhancement: utf8mb4 support upgrade. This greatly expands the language usability of Shareaholic, especially in countries that use (Han character sets)https://en.wikipedia.org/wiki/Han_unification.
205
+ - Enhancement: Added hide/show functionality to Floated Share Buttons. Your visitors can now hide the Floated Share Bar at any time, for instance, if it is covering content. They're also animated now!
206
+ - Enhancement: Related Content App now "lazy loads". This means the app will only load if a visitor begins to scroll. This is should speed up your page loads.
207
+ - Enhancement: Better accessibility / screen reader support
208
+ - Enhancement: Big improvements to the Related Content recommendation engine
209
+ - Various performance updates and bug fixes
210
+
211
  = 7.8.0.6 =
212
  * Bugfix: Fixed admin bar link
213
  * Bugfix: Properly escape meta tags values
824
  * Analytics: meet the people who spread your content the most
825
  * Faster Twitter loading
826
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
827
  == Upgrade Notice ==
828
 
829
+ = 7.9.0.0 =
830
+ This is a major update with lots of new features and enhancements that you'll love!
831
+
832
  = 7.8.0.6 =
833
  Various enhancements
834
 
shareaholic.php CHANGED
@@ -3,14 +3,14 @@
3
  * The main file!
4
  *
5
  * @package shareaholic
6
- * @version 7.8.0.6
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: 7.8.0.6
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 = '7.8.0.6';
67
 
68
  /**
69
  * Starts off as false so that ::get_instance() returns
3
  * The main file!
4
  *
5
  * @package shareaholic
6
+ * @version 7.9.0.0
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: 7.9.0.0
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 = '7.9.0.0';
67
 
68
  /**
69
  * Starts off as false so that ::get_instance() returns
utilities.php CHANGED
@@ -1321,8 +1321,8 @@ class ShareaholicUtilities {
1321
  return 'FAIL';
1322
  }
1323
 
1324
- // Did it return at least 6 services?
1325
- $has_majority_services = count(array_keys($response['body']['data'])) >= 6 ? true : false;
1326
  $has_important_services = true;
1327
  // Does it have counts for linkedin, pinterest?
1328
  foreach (array('linkedin', 'pinterest') as $service) {
1321
  return 'FAIL';
1322
  }
1323
 
1324
+ // Did it return at least 5 services?
1325
+ $has_majority_services = count(array_keys($response['body']['data'])) >= 5 ? true : false;
1326
  $has_important_services = true;
1327
  // Does it have counts for linkedin, pinterest?
1328
  foreach (array('linkedin', 'pinterest') as $service) {