AddToAny Share Buttons - Version 0.9.9.7.2

Version Description

Download this release

Release Info

Developer micropat
Plugin Icon 128x128 AddToAny Share Buttons
Version 0.9.9.7.2
Comparing to
See all releases

Code changes from version 0.9.9.7.1 to 0.9.9.7.2

Files changed (5) hide show
  1. README.txt +5 -2
  2. add-to-any.php +4 -1
  3. screenshot-1.png +0 -0
  4. screenshot-2.png +0 -0
  5. screenshot-3.png +0 -0
README.txt CHANGED
@@ -1,6 +1,6 @@
1
  === AddToAny: Share/Bookmark/Email Button ===
2
  Contributors: micropat
3
- Tags: sharing, share, sharethis, bookmarking, social, social bookmarking, social bookmarks, bookmark, bookmarks, save, Post, posts, page, pages, images, image, admin, statistics, stats, links, plugin, widget, email, e-mail, seo, button, delicious, google buzz, buzz, google, digg, reddit, facebook, facebook like, like, myspace, twitter, tweet, messenger, stumbleupon, technorati, sociable, icon, icons, wpmu, addtoany, add
4
  Requires at least: 2.8
5
  Tested up to: 3.0
6
  Stable tag: 0.9.9.7.1
@@ -27,7 +27,7 @@ Standalone **share icons** let you optimize your blog posts for specific social
27
  * Easily customizable for beginners or advanced users, and highly extensible for developers and designers
28
  * Many more publisher and user features!
29
 
30
- After **years of ongoing development**, over **1 million downloads**, and **ongoing support from the community**, AddToAny still strives to be the best WordPress plugin for sharing. We hope it's perfect for everyone by version 1.0.
31
 
32
  <a href="http://www.addtoany.com/share_save" title="Share">Share this plugin</a>
33
 
@@ -177,6 +177,9 @@ Please read <a href="http://www.addtoany.com/buttons/customize/show_over_embeds"
177
 
178
  == Changelog ==
179
 
 
 
 
180
  = .9.9.7.1 =
181
  * New Print standalone service
182
  * Fix custom services added to plugin services array
1
  === AddToAny: Share/Bookmark/Email Button ===
2
  Contributors: micropat
3
+ Tags: sharing, share, sharethis, bookmarking, social, social bookmarking, social bookmarks, bookmark, bookmarks, save, Post, posts, page, pages, images, image, admin, statistics, stats, links, plugin, widget, email, e-mail, seo, button, delicious, google buzz, buzz, google, digg, reddit, facebook, facebook like, like, myspace, twitter, tweet, messenger, stumbleupon, technorati, sexybookmarks, sociable, sharedaddy, icon, icons, wpmu, addtoany, add
4
  Requires at least: 2.8
5
  Tested up to: 3.0
6
  Stable tag: 0.9.9.7.1
27
  * Easily customizable for beginners or advanced users, and highly extensible for developers and designers
28
  * Many more publisher and user features!
29
 
30
+ After **years of active development**, over **1.3 million downloads**, and **ongoing support from the community**, AddToAny still strives to be the best WordPress plugin for sharing. We hope it's perfect for everyone by version 1.0.
31
 
32
  <a href="http://www.addtoany.com/share_save" title="Share">Share this plugin</a>
33
 
177
 
178
  == Changelog ==
179
 
180
+ = .9.9.7.2 =
181
+ * Omit sharing on private posts
182
+
183
  = .9.9.7.1 =
184
  * New Print standalone service
185
  * Fix custom services added to plugin services array
add-to-any.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: AddToAny: Share/Bookmark/Email Button
4
  Plugin URI: http://www.addtoany.com/
5
  Description: Help people share, bookmark, and email your posts & pages using any service, such as Facebook, Twitter, Google Buzz, Digg and many more. [<a href="options-general.php?page=add-to-any.php">Settings</a>]
6
- Version: .9.9.7.1
7
  Author: AddToAny
8
  Author URI: http://www.addtoany.com/
9
  */
@@ -384,6 +384,9 @@ function A2A_SHARE_SAVE_to_bottom_of_content($content) {
384
 
385
  if( ! $A2A_SHARE_SAVE_auto_placement_ready)
386
  return $content;
 
 
 
387
 
388
  if (
389
  (
3
  Plugin Name: AddToAny: Share/Bookmark/Email Button
4
  Plugin URI: http://www.addtoany.com/
5
  Description: Help people share, bookmark, and email your posts & pages using any service, such as Facebook, Twitter, Google Buzz, Digg and many more. [<a href="options-general.php?page=add-to-any.php">Settings</a>]
6
+ Version: .9.9.7.2
7
  Author: AddToAny
8
  Author URI: http://www.addtoany.com/
9
  */
384
 
385
  if( ! $A2A_SHARE_SAVE_auto_placement_ready)
386
  return $content;
387
+
388
+ if (get_post_status(get_the_ID()) == 'private')
389
+ return $content;
390
 
391
  if (
392
  (
screenshot-1.png CHANGED
Binary file
screenshot-2.png CHANGED
Binary file
screenshot-3.png CHANGED
Binary file