AddToAny Share Buttons - Version 0.9.9.6.1

Version Description

Download this release

Release Info

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

Code changes from version 0.9.9.6 to 0.9.9.6.1

Files changed (2) hide show
  1. README.txt +5 -1
  2. add-to-any.php +4 -4
README.txt CHANGED
@@ -3,7 +3,7 @@ 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, e-mail, email, seo, button, delicious, google buzz, buzz, google, digg, reddit, facebook, myspace, twitter, stumbleupon, technorati, icon, icons, wpmu, addtoany, add, any
4
  Requires at least: 2.8
5
  Tested up to: 3.0
6
- Stable tag: 0.9.9.6
7
 
8
  Help people share, bookmark, and email your posts & pages using any service, such as Facebook, Twitter, Google Buzz, Digg and many more.
9
 
@@ -171,6 +171,10 @@ Please read <a href="http://www.addtoany.com/buttons/customize/show_over_embeds"
171
 
172
  == Changelog ==
173
 
 
 
 
 
174
  = .9.9.6 =
175
  * Require WordPress 2.8
176
  * For WordPress versions 2.0 through 2.7.1 use version .9.9.5.9 (<a href="http://downloads.wordpress.org/plugin/add-to-any.0.9.9.5.9.zip">download .zip</a>) or <a href="http://wordpress.org/extend/plugins/add-to-any/download/">earlier</a>
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, e-mail, email, seo, button, delicious, google buzz, buzz, google, digg, reddit, facebook, myspace, twitter, stumbleupon, technorati, icon, icons, wpmu, addtoany, add, any
4
  Requires at least: 2.8
5
  Tested up to: 3.0
6
+ Stable tag: 0.9.9.6.1
7
 
8
  Help people share, bookmark, and email your posts & pages using any service, such as Facebook, Twitter, Google Buzz, Digg and many more.
9
 
171
 
172
  == Changelog ==
173
 
174
+ = .9.9.6.1 =
175
+ * Fix critical bug introduced in last release that caused an empty shared item to be used on non-single post pages
176
+ * Thanks to <a href="http://www.macmanx.com/">James</a> for the report!
177
+
178
  = .9.9.6 =
179
  * Require WordPress 2.8
180
  * For WordPress versions 2.0 through 2.7.1 use version .9.9.5.9 (<a href="http://downloads.wordpress.org/plugin/add-to-any.0.9.9.5.9.zip">download .zip</a>) or <a href="http://wordpress.org/extend/plugins/add-to-any/download/">earlier</a>
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.6
7
  Author: AddToAny
8
  Author URI: http://www.addtoany.com/
9
  */
@@ -98,7 +98,7 @@ function ADDTOANY_SHARE_SAVE_ICONS( $args = array() ) {
98
  );
99
 
100
  $args = wp_parse_args( $args, $defaults );
101
- extract( $args, EXTR_SKIP );
102
 
103
  // Make available services extensible via plugins, themes (functions.php), etc.
104
  $A2A_SHARE_SAVE_services = apply_filters('A2A_SHARE_SAVE_services', $A2A_SHARE_SAVE_services);
@@ -165,7 +165,7 @@ function ADDTOANY_SHARE_SAVE_BUTTON( $args = array() ) {
165
  $linkname = (isset($args['linkname'])) ? $args['linkname'] : FALSE;
166
  $linkurl = (isset($args['linkurl'])) ? $args['linkurl'] : FALSE;
167
 
168
- $args = array_merge($args, A2A_SHARE_SAVE_link_vars($linkname, $linkurl));; // linkname_enc, etc.
169
 
170
  $defaults = array(
171
  'linkname' => '',
@@ -180,7 +180,7 @@ function ADDTOANY_SHARE_SAVE_BUTTON( $args = array() ) {
180
  );
181
 
182
  $args = wp_parse_args( $args, $defaults );
183
- extract( $args, EXTR_SKIP );
184
 
185
  /* AddToAny button */
186
 
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.6.1
7
  Author: AddToAny
8
  Author URI: http://www.addtoany.com/
9
  */
98
  );
99
 
100
  $args = wp_parse_args( $args, $defaults );
101
+ extract( $args );
102
 
103
  // Make available services extensible via plugins, themes (functions.php), etc.
104
  $A2A_SHARE_SAVE_services = apply_filters('A2A_SHARE_SAVE_services', $A2A_SHARE_SAVE_services);
165
  $linkname = (isset($args['linkname'])) ? $args['linkname'] : FALSE;
166
  $linkurl = (isset($args['linkurl'])) ? $args['linkurl'] : FALSE;
167
 
168
+ $args = array_merge($args, A2A_SHARE_SAVE_link_vars($linkname, $linkurl)); // linkname_enc, etc.
169
 
170
  $defaults = array(
171
  'linkname' => '',
180
  );
181
 
182
  $args = wp_parse_args( $args, $defaults );
183
+ extract( $args );
184
 
185
  /* AddToAny button */
186