AddToAny Share Buttons - Version 0.9.9.9.1

Version Description

Download this release

Release Info

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

Code changes from version 0.9.9.9 to 0.9.9.9.1

Files changed (3) hide show
  1. README.txt +8 -2
  2. add-to-any.php +8 -5
  3. icons/google_plusone.png +0 -0
README.txt CHANGED
@@ -2,8 +2,8 @@
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, +1, plus 1, google plus one, plus one, messenger, stumbleupon, technorati, addthis, sexybookmarks, sociable, sharedaddy, icon, icons, wpmu, addtoany
4
  Requires at least: 2.8
5
- Tested up to: 3.1
6
- Stable tag: 0.9.9.9
7
 
8
  Help people share, bookmark, and email your posts & pages using any service, such as Facebook, Twitter, Google, StumbleUpon, Digg and many more.
9
 
@@ -205,6 +205,12 @@ Upload the plugin directory (including all files and directories within) to the
205
 
206
  == Changelog ==
207
 
 
 
 
 
 
 
208
  = .9.9.9 =
209
  * Asynchronous loading (faster, non-blocking, major new feature!)
210
  * Supports most themes and additionally works around buggy themes that improperly process content for excerpts, featured/related posts, etc.
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, +1, plus 1, google plus one, plus one, messenger, stumbleupon, technorati, addthis, sexybookmarks, sociable, sharedaddy, icon, icons, wpmu, addtoany
4
  Requires at least: 2.8
5
+ Tested up to: 3.2
6
+ Stable tag: 0.9.9.9.1
7
 
8
  Help people share, bookmark, and email your posts & pages using any service, such as Facebook, Twitter, Google, StumbleUpon, Digg and many more.
9
 
205
 
206
  == Changelog ==
207
 
208
+ = .9.9.9.1 =
209
+ * Major fixes
210
+ * Fix execution of Additional Options
211
+ * Fix PHP warning that appears when AddToAny is not on the current page
212
+ * Add Google +1 button image for admin
213
+
214
  = .9.9.9 =
215
  * Asynchronous loading (faster, non-blocking, major new feature!)
216
  * Supports most themes and additionally works around buggy themes that improperly process content for excerpts, featured/related posts, etc.
add-to-any.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: AddToAny: Share/Bookmark/Email Buttons
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, StumbleUpon, Digg and many more. [<a href="options-general.php?page=add-to-any.php">Settings</a>]
6
- Version: .9.9.9
7
  Author: AddToAny
8
  Author URI: http://www.addtoany.com/
9
  */
@@ -402,10 +402,10 @@ function A2A_SHARE_SAVE_head_script() {
402
 
403
  // Enternal script call + initial JS + set-once variables
404
  $additional_js = $options['additional_js_variables'];
405
- $script_configs = (($cache) ? 'a2a_config.static_server="' . $static_server . '";' . "\n" : '' )
406
- . (($options['onclick']=='1') ? 'a2a_config.onclick=1;' . "\n" : '')
407
- . (($options['show_title']=='1') ? 'a2a_config.show_title=1;' . "\n" : '')
408
- . (($additional_js) ? stripslashes($additional_js) . "\n" : '');
409
  $A2A_SHARE_SAVE_external_script_called = true;
410
  }
411
  else {
@@ -443,6 +443,7 @@ function A2A_SHARE_SAVE_head_script() {
443
  . "};"
444
  . "a2a_config.tracking_callback=['ready',wpa2a.script_onready];"
445
  . A2A_menu_locale()
 
446
  . "\n//--></script>\n";
447
 
448
  echo $javascript_header;
@@ -455,6 +456,8 @@ function A2A_SHARE_SAVE_footer_script() {
455
 
456
  if (is_admin())
457
  return;
 
 
458
 
459
  $javascript_footer = "\n" . '<script type="text/javascript">' . "<!--\n"
460
  . "wpa2a.targets=["
3
  Plugin Name: AddToAny: Share/Bookmark/Email Buttons
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, StumbleUpon, Digg and many more. [<a href="options-general.php?page=add-to-any.php">Settings</a>]
6
+ Version: .9.9.9.1
7
  Author: AddToAny
8
  Author URI: http://www.addtoany.com/
9
  */
402
 
403
  // Enternal script call + initial JS + set-once variables
404
  $additional_js = $options['additional_js_variables'];
405
+ $script_configs = (($cache) ? "\n" . 'a2a_config.static_server="' . $static_server . '";' : '' )
406
+ . (($options['onclick']=='1') ? "\n" . 'a2a_config.onclick=1;' : '')
407
+ . (($options['show_title']=='1') ? "\n" . 'a2a_config.show_title=1;' : '')
408
+ . (($additional_js) ? "\n" . stripslashes($additional_js) : '');
409
  $A2A_SHARE_SAVE_external_script_called = true;
410
  }
411
  else {
443
  . "};"
444
  . "a2a_config.tracking_callback=['ready',wpa2a.script_onready];"
445
  . A2A_menu_locale()
446
+ . $script_configs
447
  . "\n//--></script>\n";
448
 
449
  echo $javascript_header;
456
 
457
  if (is_admin())
458
  return;
459
+
460
+ $_addtoany_targets = (isset($_addtoany_targets)) ? $_addtoany_targets : array();
461
 
462
  $javascript_footer = "\n" . '<script type="text/javascript">' . "<!--\n"
463
  . "wpa2a.targets=["
icons/google_plusone.png ADDED
Binary file