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

Version Description

  • Bugfix: Redefined what is considered a shareable page
Download this release

Release Info

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

Code changes from version 7.6.1.2 to 7.6.1.3

Files changed (3) hide show
  1. public.php +5 -1
  2. readme.txt +14 -7
  3. shareaholic.php +1 -1
public.php CHANGED
@@ -198,7 +198,11 @@ class ShareaholicPublic {
198
  if ($article_visibility == 'draft' || $article_visibility == 'auto-draft' || $article_visibility == 'future' || $article_visibility == 'pending'){
199
  echo "<meta name='shareaholic:shareable_page' content='false' />\n";
200
  $article_visibility = 'draft';
201
- } else if ($article_visibility == 'private' || $post->post_password != '' || is_attachment()) {
 
 
 
 
202
  echo "<meta name='shareaholic:shareable_page' content='true' />\n";
203
  $article_visibility = 'private';
204
  } else {
198
  if ($article_visibility == 'draft' || $article_visibility == 'auto-draft' || $article_visibility == 'future' || $article_visibility == 'pending'){
199
  echo "<meta name='shareaholic:shareable_page' content='false' />\n";
200
  $article_visibility = 'draft';
201
+ } else if ($article_visibility == 'private' || $post->post_password != '') {
202
+ echo "<meta name='shareaholic:shareable_page' content='false' />\n";
203
+ $article_visibility = 'private';
204
+ } else if (is_attachment()) {
205
+ // attachments are shareable but not recommendable
206
  echo "<meta name='shareaholic:shareable_page' content='true' />\n";
207
  $article_visibility = 'private';
208
  } else {
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === Shareaholic | share buttons, related posts, social analytics & more ===
2
  Contributors: shareaholic
3
- Tags: sexybookmarks, shareaholic, shareholic, facebook, twitter, linkedin, URL Shortener, bitly, tinyurl, Goo.gl, Google+1, Google Analytics, Google Plus, Google, Instapaper, Wish List, Digg, Gmail, Google Bookmarks, Translate, Tumblr, AIM, Yahoo Messenger, Delicious, StumbleUpon, mister wong, evernote, add this, addtoany, share this, sharethis, share and follow, share and enjoy, sharing is sexy, sharing is caring, yahoo, reddit, hackernews, houzz, yummly, tweet button, twitter button, fark, buffer, myspace, orkut, netlog, hubspot, weheartit, printfriendly, yammer, wanelo, pinterest, google translate, bookmarks, social, email button, social share, socialize, sociable, sharebar, bookmark button, share button, social bookmarking, bookmarks menu, bookmarking, share, seo, analytics, stats, sharing, facebook like, facebook recommend, WPMU, mutisite, sumome, shortcode, yaarp, yarpp, nrelate, outbrain, linkwithin, related content, related posts, related, popular posts, popular, thumbnails, recommendations
4
  Requires at least: 3.0
5
- Tested up to: 4.1.1
6
- Stable tag: 7.6.1.2
7
 
8
  The easiest, most effective way to grow your website traffic, effectively engage your audience, monetize, and gain insights for free.
9
 
@@ -20,15 +20,16 @@ Shareaholic is an **all-in-one content amplification and monetization platform**
20
  * [Shareable Images](https://blog.shareaholic.com/image-share-buttons/) (Pinterest "pin it" button for images)
21
  * Bonus: [EU / UK Cookie Compliance Banner App](https://blog.shareaholic.com/cookie-consent-banner-app/)
22
  * Localized in 15+ languages
23
- * Related Content support for post keywords specified in "All in One SEO Pack", "WordPress SEO by Yoast", etc plugins
24
 
25
  = Share Buttons =
26
 
27
  Make it 1-click easy for your visitors to share your content with their friends with Shareaholic's award winning Share Buttons.
28
 
29
- * Full support for Facebook, Twitter, Pinterest, Google Plus, etc
30
  * Share Counters for Twitter, Facebook, LinkedIn, Pinterest, Buffer, Google Plus, etc
31
  * Official support for Google's URL shortener (goo.gl) and Google Analytics
 
 
32
 
33
  [Share Buttons](https://shareaholic.com/publishers/sharing/) (demo)
34
 
@@ -54,7 +55,7 @@ Provides you with important actionable metrics including insights into popular p
54
 
55
  = You're in Great Company =
56
 
57
- Shareaholic is used and trusted by hundreds of thousands of websites like yours and touches over 400 million people each month. Designed and built with all the love in the world in Boston, Massachusetts.
58
 
59
  = Support =
60
 
@@ -169,6 +170,9 @@ Please see here: [Usage & Installation Instructions](http://support.shareaholic.
169
 
170
  == Changelog ==
171
 
 
 
 
172
  = 7.6.1.2 =
173
  * [Bugfix](https://wordpress.org/support/topic/shareaholic-plugin-integration-issue): Added a check to see if data object exists before trying to access it
174
 
@@ -1197,7 +1201,10 @@ Please see here: [Usage & Installation Instructions](http://support.shareaholic.
1197
 
1198
  == Upgrade Notice ==
1199
 
1200
- = 7.6.1.2 =
 
 
 
1201
  Bug fixes.
1202
 
1203
  = 7.6.1.1 =
1
  === Shareaholic | share buttons, related posts, social analytics & more ===
2
  Contributors: shareaholic
3
+ Tags: sexybookmarks, shareaholic, shareholic, recommendations, related content, cookie consent, share buttons, email button, social sharing, social bookmarking, share image, image sharing, follow buttons, floated share buttons, analytics, social media, social plugin
4
  Requires at least: 3.0
5
+ Tested up to: 4.2.1
6
+ Stable tag: 7.6.1.3
7
 
8
  The easiest, most effective way to grow your website traffic, effectively engage your audience, monetize, and gain insights for free.
9
 
20
  * [Shareable Images](https://blog.shareaholic.com/image-share-buttons/) (Pinterest "pin it" button for images)
21
  * Bonus: [EU / UK Cookie Compliance Banner App](https://blog.shareaholic.com/cookie-consent-banner-app/)
22
  * Localized in 15+ languages
23
+ * Related Content support for post keywords specified in the "All in One SEO Pack", "WordPress SEO by Yoast", "Add Meta Tags", etc plugins
24
 
25
  = Share Buttons =
26
 
27
  Make it 1-click easy for your visitors to share your content with their friends with Shareaholic's award winning Share Buttons.
28
 
 
29
  * Share Counters for Twitter, Facebook, LinkedIn, Pinterest, Buffer, Google Plus, etc
30
  * Official support for Google's URL shortener (goo.gl) and Google Analytics
31
+ * Supported URL Shorteners: Bitly (including custom tracking), J.mp, TinyURL, Goo.gl, Shr.lc
32
+ * Full support for: Facebook, Twitter, Pinterest, Google Plus, Reddit, LinkedIn, Gmail, Delicious, OneNote, Evernote, Stumbleupon, Digg, Tumblr, Hootsuite, Buffer, Fancy, Wanelo, Yummly, WeHeartIt, Flipboard, Printfriendly, Amazon Wishlist, Instapaper, Pocket, Odnoklassniki, Houzz, Hacker News, Inbound.org, Vk, etc
33
 
34
  [Share Buttons](https://shareaholic.com/publishers/sharing/) (demo)
35
 
55
 
56
  = You're in Great Company =
57
 
58
+ Shareaholic is used and trusted by hundreds of thousands of websites like yours and touches over 450 million people each month. Designed and built with all the love in the world in Boston, Massachusetts.
59
 
60
  = Support =
61
 
170
 
171
  == Changelog ==
172
 
173
+ = 7.6.1.3 =
174
+ * Bugfix: Redefined what is considered a shareable page
175
+
176
  = 7.6.1.2 =
177
  * [Bugfix](https://wordpress.org/support/topic/shareaholic-plugin-integration-issue): Added a check to see if data object exists before trying to access it
178
 
1201
 
1202
  == Upgrade Notice ==
1203
 
1204
+ = 7.6.1.3 =
1205
+ Bug fixes.
1206
+
1207
+ = 7.6.1.2 =
1208
  Bug fixes.
1209
 
1210
  = 7.6.1.1 =
shareaholic.php CHANGED
@@ -64,7 +64,7 @@ if (!class_exists('Shareaholic')) {
64
  const CM_API_URL = 'https://cm-web.shareaholic.com'; // uses static IPs for firewall whitelisting
65
  const REC_API_URL = 'http://recommendations.shareaholic.com';
66
 
67
- const VERSION = '7.6.1.2';
68
 
69
  /**
70
  * Starts off as false so that ::get_instance() returns
64
  const CM_API_URL = 'https://cm-web.shareaholic.com'; // uses static IPs for firewall whitelisting
65
  const REC_API_URL = 'http://recommendations.shareaholic.com';
66
 
67
+ const VERSION = '7.6.1.3';
68
 
69
  /**
70
  * Starts off as false so that ::get_instance() returns