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

Version Description

  • Related Content
    • Deleted posts are now automatically removed from your Shareaholic Content Index within an hour!
Download this release

Release Info

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

Code changes from version 7.0.6.0 to 7.0.7.0

Files changed (4) hide show
  1. languages/shareaholic.pot +34 -15
  2. readme.txt +10 -3
  3. shareaholic.php +5 -3
  4. utilities.php +5 -4
languages/shareaholic.pot CHANGED
@@ -3,9 +3,9 @@
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Shareaholic | share buttons, analytics, related content "
6
- "7.0.4.1\n"
7
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/shareaholic\n"
8
- "POT-Creation-Date: 2013-09-25 16:56:44+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
@@ -13,11 +13,11 @@ msgstr ""
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
 
16
- #: admin.php:230 admin.php:297
17
  msgid "Settings successfully saved"
18
  msgstr ""
19
 
20
- #: admin.php:291
21
  msgid "Settings successfully reset. Refresh this page to complete the reset."
22
  msgstr ""
23
 
@@ -56,11 +56,11 @@ msgstr ""
56
  msgid "(it is recommended NOT to disable open graph tags)"
57
  msgstr ""
58
 
59
- #: templates/advanced_settings.php:28 templates/settings.php:90
60
  msgid "Saving Changes..."
61
  msgstr ""
62
 
63
- #: templates/advanced_settings.php:28 templates/settings.php:90
64
  msgid "Save Changes"
65
  msgstr ""
66
 
@@ -148,8 +148,19 @@ msgstr ""
148
  msgid "Retry"
149
  msgstr ""
150
 
151
- #: templates/failed_to_create_api_key_modal.php:14
152
- msgid "or, try again later"
 
 
 
 
 
 
 
 
 
 
 
153
  msgstr ""
154
 
155
  #: templates/footer.php:8
@@ -167,6 +178,10 @@ msgid "Hide Related Content"
167
  msgstr ""
168
 
169
  #: templates/meta_boxes.php:26
 
 
 
 
170
  msgid "Do not include Open Graph tags"
171
  msgstr ""
172
 
@@ -193,29 +208,33 @@ msgstr ""
193
 
194
  #: templates/settings.php:26
195
  msgid ""
196
- "Pick where you want your buttons to be displayed. Click \"Edit\" to "
197
  "customize look & feel, themes, share counters, alignment, etc."
198
  msgstr ""
199
 
200
- #: templates/settings.php:52
 
 
 
 
201
  msgid "Related Content / Recommendations"
202
  msgstr ""
203
 
204
- #: templates/settings.php:53
205
  msgid ""
206
- "Pick where you want Related Content to be displayed. Click \"Edit\" to "
207
  "customize look & feel, themes, block lists, etc."
208
  msgstr ""
209
 
210
- #: templates/settings.php:75
211
  msgid "Data Status:"
212
  msgstr ""
213
 
214
- #: templates/settings.php:79
215
  msgid "Processing"
216
  msgstr ""
217
 
218
- #: templates/settings.php:81
219
  msgid "Ready"
220
  msgstr ""
221
 
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Shareaholic | share buttons, analytics, related content "
6
+ "7.0.6.0\n"
7
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/shareaholic\n"
8
+ "POT-Creation-Date: 2013-11-11 23:30:28+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
 
16
+ #: admin.php:217 admin.php:284
17
  msgid "Settings successfully saved"
18
  msgstr ""
19
 
20
+ #: admin.php:278
21
  msgid "Settings successfully reset. Refresh this page to complete the reset."
22
  msgstr ""
23
 
56
  msgid "(it is recommended NOT to disable open graph tags)"
57
  msgstr ""
58
 
59
+ #: templates/advanced_settings.php:28 templates/settings.php:94
60
  msgid "Saving Changes..."
61
  msgstr ""
62
 
63
+ #: templates/advanced_settings.php:28 templates/settings.php:94
64
  msgid "Save Changes"
65
  msgstr ""
66
 
148
  msgid "Retry"
149
  msgstr ""
150
 
151
+ #: templates/failed_to_create_api_key_modal.php:15
152
+ msgid "or, try again later."
153
+ msgstr ""
154
+
155
+ #: templates/failed_to_create_api_key_modal.php:19
156
+ msgid ""
157
+ "If you continue to get this prompt for more than a few hours, try to check "
158
+ "server connectivity or reset the plugin in %sadvanced settings%s."
159
+ msgstr ""
160
+
161
+ #: templates/failed_to_create_api_key_modal.php:19
162
+ msgid ""
163
+ "Also, if you have a question or have a bug to report, please %slet us know%s."
164
  msgstr ""
165
 
166
  #: templates/footer.php:8
178
  msgstr ""
179
 
180
  #: templates/meta_boxes.php:26
181
+ msgid "Exclude from Related Content"
182
+ msgstr ""
183
+
184
+ #: templates/meta_boxes.php:36
185
  msgid "Do not include Open Graph tags"
186
  msgstr ""
187
 
208
 
209
  #: templates/settings.php:26
210
  msgid ""
211
+ "Pick where you want your buttons to be displayed. Click \"Customize\" to "
212
  "customize look & feel, themes, share counters, alignment, etc."
213
  msgstr ""
214
 
215
+ #: templates/settings.php:45 templates/settings.php:72
216
+ msgid "Customize"
217
+ msgstr ""
218
+
219
+ #: templates/settings.php:54
220
  msgid "Related Content / Recommendations"
221
  msgstr ""
222
 
223
+ #: templates/settings.php:55
224
  msgid ""
225
+ "Pick where you want Related Content to be displayed. Click \"Customize\" to "
226
  "customize look & feel, themes, block lists, etc."
227
  msgstr ""
228
 
229
+ #: templates/settings.php:79
230
  msgid "Data Status:"
231
  msgstr ""
232
 
233
+ #: templates/settings.php:83
234
  msgid "Processing"
235
  msgstr ""
236
 
237
+ #: templates/settings.php:85
238
  msgid "Ready"
239
  msgstr ""
240
 
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, shortcode, yaarp, yarpp, nrelate, outbrain, linkwithin, related content, related posts, related, popular posts, popular, thumbnails, recommendations
4
  Requires at least: 2.7
5
  Tested up to: 3.7.1
6
- Stable tag: 7.0.6.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
 
@@ -148,6 +148,10 @@ Please see here: [Usage & Installation Instructions](https://shareaholic.com/too
148
 
149
  == Changelog ==
150
 
 
 
 
 
151
  = 7.0.6.0 =
152
  * Shareaholic Apps are now included on static front page displays
153
 
@@ -156,7 +160,7 @@ Please see here: [Usage & Installation Instructions](https://shareaholic.com/too
156
 
157
  = 7.0.5.0 =
158
  * Related Content
159
- * New or modified posts are now automatically updated in your Shareaholic Related Content index within an hour!
160
 
161
  = 7.0.4.9 =
162
  * Bugfix: Fixed hardcoded database path; now dynamically pulled in via inbuilt WordPress function
@@ -978,6 +982,9 @@ Please see here: [Usage & Installation Instructions](https://shareaholic.com/too
978
 
979
  == Upgrade Notice ==
980
 
 
 
 
981
  = 7.0.6.0 =
982
  Shareaholic Apps are now included on static front page displays
983
 
@@ -985,7 +992,7 @@ Shareaholic Apps are now included on static front page displays
985
  Bug fixes
986
 
987
  = 7.0.5.0 =
988
- New or modified posts are now automatically updated in your Shareaholic Related Content index within an hour!
989
 
990
  = 7.0.4.9 =
991
  Bugfixes and confirmed that everything is humming along with WordPress 3.7.1!
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, shortcode, yaarp, yarpp, nrelate, outbrain, linkwithin, related content, related posts, related, popular posts, popular, thumbnails, recommendations
4
  Requires at least: 2.7
5
  Tested up to: 3.7.1
6
+ Stable tag: 7.0.7.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
 
148
 
149
  == Changelog ==
150
 
151
+ = 7.0.7.0 =
152
+ * Related Content
153
+ * Deleted posts are now automatically removed from your Shareaholic Content Index within an hour!
154
+
155
  = 7.0.6.0 =
156
  * Shareaholic Apps are now included on static front page displays
157
 
160
 
161
  = 7.0.5.0 =
162
  * Related Content
163
+ * New or modified posts are now automatically updated in your Shareaholic Content Index within an hour!
164
 
165
  = 7.0.4.9 =
166
  * Bugfix: Fixed hardcoded database path; now dynamically pulled in via inbuilt WordPress function
982
 
983
  == Upgrade Notice ==
984
 
985
+ = 7.0.7.0 =
986
+ Deleted posts are now automatically removed from your Shareaholic Content Index within an hour!
987
+
988
  = 7.0.6.0 =
989
  Shareaholic Apps are now included on static front page displays
990
 
992
  Bug fixes
993
 
994
  = 7.0.5.0 =
995
+ New or modified posts are now automatically updated in your Shareaholic Content Index within an hour!
996
 
997
  = 7.0.4.9 =
998
  Bugfixes and confirmed that everything is humming along with WordPress 3.7.1!
shareaholic.php CHANGED
@@ -3,14 +3,14 @@
3
  * The main file!
4
  *
5
  * @package shareaholic
6
- * @version 7.0.6.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.0.6.0
14
  Author: Shareaholic
15
  Author URI: https://shareaholic.com
16
  Text Domain: shareaholic
@@ -54,7 +54,7 @@ require_once(SHAREAHOLIC_DIR . '/deprecation.php');
54
  class Shareaholic {
55
  const URL = 'https://shareaholic.com';
56
  const URL_CM = 'https://cm.shareaholic.com';
57
- const VERSION = '7.0.6.0';
58
 
59
  /**
60
  * Starts off as false so that ::get_instance() returns
@@ -96,6 +96,8 @@ class Shareaholic {
96
  add_action('publish_page', array('ShareaholicUtilities', 'notify_content_manager'));
97
  }
98
 
 
 
99
  register_activation_hook(__FILE__, array($this, 'after_activation'));
100
  register_deactivation_hook( __FILE__, array($this, 'deactivate'));
101
  register_uninstall_hook(__FILE__, array('Shareaholic', 'uninstall'));
3
  * The main file!
4
  *
5
  * @package shareaholic
6
+ * @version 7.0.7.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.0.7.0
14
  Author: Shareaholic
15
  Author URI: https://shareaholic.com
16
  Text Domain: shareaholic
54
  class Shareaholic {
55
  const URL = 'https://shareaholic.com';
56
  const URL_CM = 'https://cm.shareaholic.com';
57
+ const VERSION = '7.0.7.0';
58
 
59
  /**
60
  * Starts off as false so that ::get_instance() returns
96
  add_action('publish_page', array('ShareaholicUtilities', 'notify_content_manager'));
97
  }
98
 
99
+ add_action('trashed_post', array('ShareaholicUtilities', 'notify_content_manager'));
100
+
101
  register_activation_hook(__FILE__, array($this, 'after_activation'));
102
  register_deactivation_hook( __FILE__, array($this, 'deactivate'));
103
  register_uninstall_hook(__FILE__, array('Shareaholic', 'uninstall'));
utilities.php CHANGED
@@ -684,10 +684,11 @@ class ShareaholicUtilities {
684
  public static function should_notify_cm() {
685
  $settings = array();
686
  $recommendations_settings = array();
687
-
688
- $settings = ShareaholicUtilities::get_settings();
689
- $recommendations_settings = $settings["recommendations"];
690
-
 
691
  if (is_array($recommendations_settings)) {
692
  if (in_array("on", $recommendations_settings)) {
693
  return true;
684
  public static function should_notify_cm() {
685
  $settings = array();
686
  $recommendations_settings = array();
687
+ $settings = ShareaholicUtilities::get_settings();
688
+ if (isset($settings["recommendations"])){
689
+ $recommendations_settings = $settings["recommendations"];
690
+ }
691
+
692
  if (is_array($recommendations_settings)) {
693
  if (in_array("on", $recommendations_settings)) {
694
  return true;