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

Version Description

  • Bugfix: Added a check to see if data object exists before trying to access it
Download this release

Release Info

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

Code changes from version 7.6.1.1 to 7.6.1.2

Files changed (3) hide show
  1. public.php +3 -1
  2. readme.txt +9 -3
  3. shareaholic.php +3 -3
public.php CHANGED
@@ -218,7 +218,9 @@ class ShareaholicPublic {
218
  // Article Author Name
219
  if ($post->post_author) {
220
  $article_author_data = get_userdata($post->post_author);
221
- $article_author_name = $article_author_data->display_name;
 
 
222
  }
223
  if (!empty($article_author_name)) {
224
  echo "<meta name='shareaholic:article_author_name' content='" . $article_author_name . "' />\n";
218
  // Article Author Name
219
  if ($post->post_author) {
220
  $article_author_data = get_userdata($post->post_author);
221
+ if ($article_author_data) {
222
+ $article_author_name = $article_author_data->display_name;
223
+ }
224
  }
225
  if (!empty($article_author_name)) {
226
  echo "<meta name='shareaholic:article_author_name' content='" . $article_author_name . "' />\n";
readme.txt CHANGED
@@ -2,8 +2,8 @@
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
6
- Stable tag: 7.6.1.1
7
 
8
  The easiest, most effective way to grow your website traffic, effectively engage your audience, monetize, and gain insights for free.
9
 
@@ -169,6 +169,9 @@ Please see here: [Usage & Installation Instructions](http://support.shareaholic.
169
 
170
  == Changelog ==
171
 
 
 
 
172
  = 7.6.1.1 =
173
  * Enhancement: Added Shareaholic navigation bar to the Shareaholic settings pages
174
 
@@ -1194,8 +1197,11 @@ Please see here: [Usage & Installation Instructions](http://support.shareaholic.
1194
 
1195
  == Upgrade Notice ==
1196
 
 
 
 
1197
  = 7.6.1.1 =
1198
- Added Shareaholic navigation bar to the Shareaholic settings pages
1199
 
1200
  = 7.6.1.0 =
1201
  Fix for security vulnerability. Upgrade immediately.
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
 
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
+
175
  = 7.6.1.1 =
176
  * Enhancement: Added Shareaholic navigation bar to the Shareaholic settings pages
177
 
1197
 
1198
  == Upgrade Notice ==
1199
 
1200
+ = 7.6.1.2 =
1201
+ Bug fixes.
1202
+
1203
  = 7.6.1.1 =
1204
+ Added Shareaholic navigation bar to the Shareaholic settings pages.
1205
 
1206
  = 7.6.1.0 =
1207
  Fix for security vulnerability. Upgrade immediately.
shareaholic.php CHANGED
@@ -3,14 +3,14 @@
3
  * The main file!
4
  *
5
  * @package shareaholic
6
- * @version 7.6.1.1
7
  */
8
 
9
  /*
10
  Plugin Name: Shareaholic | share buttons, analytics, related content
11
  Plugin URI: https://shareaholic.com/publishers/
12
  Description: Whether you want to get people sharing, grow your fans, make money, or know who's reading your content, Shareaholic will help you get it done. See <a href="admin.php?page=shareaholic-settings">configuration panel</a> for more settings.
13
- Version: 7.6.1.1
14
  Author: Shareaholic
15
  Author URI: https://shareaholic.com
16
  Text Domain: shareaholic
@@ -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.1';
68
 
69
  /**
70
  * Starts off as false so that ::get_instance() returns
3
  * The main file!
4
  *
5
  * @package shareaholic
6
+ * @version 7.6.1.2
7
  */
8
 
9
  /*
10
  Plugin Name: Shareaholic | share buttons, analytics, related content
11
  Plugin URI: https://shareaholic.com/publishers/
12
  Description: Whether you want to get people sharing, grow your fans, make money, or know who's reading your content, Shareaholic will help you get it done. See <a href="admin.php?page=shareaholic-settings">configuration panel</a> for more settings.
13
+ Version: 7.6.1.2
14
  Author: Shareaholic
15
  Author URI: https://shareaholic.com
16
  Text Domain: 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