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

Version Description

  • Universal metabox options support
  • Bugfix: 404 page fix
Download this release

Release Info

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

Code changes from version 7.6.0.0 to 7.6.0.1

Files changed (4) hide show
  1. admin.php +4 -3
  2. readme.txt +9 -1
  3. shareaholic.php +3 -3
  4. utilities.php +1 -1
admin.php CHANGED
@@ -61,13 +61,14 @@ class ShareaholicAdmin {
61
  * Adds meta boxes for post and page options
62
  */
63
  public static function add_meta_boxes() {
64
- $screens = array( 'post', 'page', 'product' );
65
- foreach ($screens as $screen) {
 
66
  add_meta_box(
67
  'shareaholic',
68
  'Shareaholic',
69
  array('ShareaholicAdmin', 'meta_box'),
70
- $screen,
71
  'side',
72
  'low'
73
  );
61
  * Adds meta boxes for post and page options
62
  */
63
  public static function add_meta_boxes() {
64
+ $post_types = get_post_types();
65
+ // $post_types = array( 'post', 'page', 'product' );
66
+ foreach ($post_types as $post_type) {
67
  add_meta_box(
68
  'shareaholic',
69
  'Shareaholic',
70
  array('ShareaholicAdmin', 'meta_box'),
71
+ $post_type,
72
  'side',
73
  'low'
74
  );
readme.txt CHANGED
@@ -3,7 +3,7 @@ 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, 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.0
6
- Stable tag: 7.6.0.0
7
 
8
  Adds an attractive social bookmarking menu and related content widget to your posts, pages, index, or any combination of the three.
9
 
@@ -159,6 +159,10 @@ Please see here: [Usage & Installation Instructions](http://support.shareaholic.
159
 
160
  == Changelog ==
161
 
 
 
 
 
162
  = 7.6.0.0 =
163
  * Official support for WooCommerce!
164
 
@@ -1140,6 +1144,10 @@ Please see here: [Usage & Installation Instructions](http://support.shareaholic.
1140
 
1141
  == Upgrade Notice ==
1142
 
 
 
 
 
1143
  = 7.6.0.0 =
1144
 
1145
  Official support for WooCommerce!
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, 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.0
6
+ Stable tag: 7.6.0.1
7
 
8
  Adds an attractive social bookmarking menu and related content widget to your posts, pages, index, or any combination of the three.
9
 
159
 
160
  == Changelog ==
161
 
162
+ = 7.6.0.1 =
163
+ * Universal metabox options support
164
+ * [Bugfix](https://wordpress.org/support/topic/page-of-error-404-does-not-work-with-version-7600): 404 page fix
165
+
166
  = 7.6.0.0 =
167
  * Official support for WooCommerce!
168
 
1144
 
1145
  == Upgrade Notice ==
1146
 
1147
+ = 7.6.0.1 =
1148
+
1149
+ Bug fixes
1150
+
1151
  = 7.6.0.0 =
1152
 
1153
  Official support for WooCommerce!
shareaholic.php CHANGED
@@ -3,14 +3,14 @@
3
  * The main file!
4
  *
5
  * @package shareaholic
6
- * @version 7.6.0.0
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.0.0
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.6.0.0';
67
 
68
  /**
69
  * Starts off as false so that ::get_instance() returns
3
  * The main file!
4
  *
5
  * @package shareaholic
6
+ * @version 7.6.0.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.0.1
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.6.0.1';
67
 
68
  /**
69
  * Starts off as false so that ::get_instance() returns
utilities.php CHANGED
@@ -351,7 +351,7 @@ class ShareaholicUtilities {
351
  return 'page';
352
  } elseif (is_single()) {
353
  return 'post';
354
- } elseif (is_category() || is_author() || is_tag() || is_date() || is_product_category() || is_product_tag()) {
355
  return 'category';
356
  }
357
  }
351
  return 'page';
352
  } elseif (is_single()) {
353
  return 'post';
354
+ } elseif (is_category() || is_author() || is_tag() || is_date()) {
355
  return 'category';
356
  }
357
  }