AddToAny Share Buttons - Version 0.9.8.2

Version Description

Download this release

Release Info

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

Code changes from version 0.9.8.1 to 0.9.8.2

Files changed (2) hide show
  1. README.txt +6 -1
  2. add-to-any.php +3 -5
README.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.addtoany.com/contact/
4
  Tags: bookmarking, social, social bookmarking, bookmark, bookmarks, sharing, share, saving, save, Post, posts, page, pages, images, image, admin, statistics, stats, links, plugin, widget, e-mail, email, seo, button, delicious, google, digg, reddit, facebook, myspace, addtoany, add, any
5
  Requires at least: 2.0
6
  Tested up to: 2.7
7
- Stable tag: 0.9.8.1
8
 
9
  Helps readers share, save, and bookmark your posts and pages using any service, such as Delicious, Digg, Facebook, MySpace, and all the rest.
10
 
@@ -66,6 +66,11 @@ This is done to overcome browser limitations that prevent the drop-down menu fro
66
 
67
  == Changelog ==
68
 
 
 
 
 
 
69
  .9.8.1:
70
 
71
  * Fixed repo problem
4
  Tags: bookmarking, social, social bookmarking, bookmark, bookmarks, sharing, share, saving, save, Post, posts, page, pages, images, image, admin, statistics, stats, links, plugin, widget, e-mail, email, seo, button, delicious, google, digg, reddit, facebook, myspace, addtoany, add, any
5
  Requires at least: 2.0
6
  Tested up to: 2.7
7
+ Stable tag: 0.9.8.2
8
 
9
  Helps readers share, save, and bookmark your posts and pages using any service, such as Delicious, Digg, Facebook, MySpace, and all the rest.
10
 
66
 
67
  == Changelog ==
68
 
69
+ .9.8.2:
70
+
71
+ * Event attributes removed (JS now takes care of button events)
72
+ * This eliminates the chance of errors prior to JS fully loading
73
+
74
  .9.8.1:
75
 
76
  * Fixed repo problem
add-to-any.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Add to Any: Share/Save/Bookmark Button
4
  Plugin URI: http://www.addtoany.com/
5
  Description: Helps readers share, save, and bookmark your posts and pages using any service. [<a href="options-general.php?page=add-to-any.php">Settings</a>]
6
- Version: .9.8.1
7
  Author: Add to Any
8
  Author URI: http://www.addtoany.com/contact/
9
  */
@@ -63,10 +63,7 @@ function ADDTOANY_SHARE_SAVE_BUTTON($output_buffering=false) {
63
  $button = '<img src="'.$button_src.'"'.$button_width.$button_height.' alt="Share/Save/Bookmark"/>';
64
  ?>
65
 
66
- <a class="a2a_dd addtoany_share_save" <?php
67
- if( !is_feed() ) {
68
- echo (get_option('A2A_SHARE_SAVE_onclick')=='1') ? 'onclick="a2a_show_dropdown(this);return false"' : 'onmouseover="a2a_show_dropdown(this)"'; echo ' onmouseout="a2a_onMouseOut_delay()" ';
69
- } ?>href="http://www.addtoany.com/share_save?sitename=<?php echo $sitename_enc; ?>&amp;siteurl=<?php echo $siteurl_enc; ?>&amp;linkname=<?php echo $linkname_enc; ?>&amp;linkurl=<?php echo $linkurl_enc; ?>"<?php echo $style; ?>><?php echo $button; ?></a>
70
 
71
  <?php
72
 
@@ -83,6 +80,7 @@ function ADDTOANY_SHARE_SAVE_BUTTON($output_buffering=false) {
83
  . A2A_menu_locale()
84
  . 'a2a_linkname="' . js_escape($linkname) . '";' . "\n"
85
  . 'a2a_linkurl="' . $linkurl . '";' . "\n"
 
86
  . ((get_option('A2A_SHARE_SAVE_hide_embeds')=='-1') ? 'a2a_hide_embeds=0;' . "\n" : '')
87
  . ((get_option('A2A_SHARE_SAVE_show_title')=='1') ? 'a2a_show_title=1;' . "\n" : '')
88
  . stripslashes(get_option('A2A_SHARE_SAVE_additional_js_variables')) . "\n"
3
  Plugin Name: Add to Any: Share/Save/Bookmark Button
4
  Plugin URI: http://www.addtoany.com/
5
  Description: Helps readers share, save, and bookmark your posts and pages using any service. [<a href="options-general.php?page=add-to-any.php">Settings</a>]
6
+ Version: .9.8.2
7
  Author: Add to Any
8
  Author URI: http://www.addtoany.com/contact/
9
  */
63
  $button = '<img src="'.$button_src.'"'.$button_width.$button_height.' alt="Share/Save/Bookmark"/>';
64
  ?>
65
 
66
+ <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?sitename=<?php echo $sitename_enc; ?>&amp;siteurl=<?php echo $siteurl_enc; ?>&amp;linkname=<?php echo $linkname_enc; ?>&amp;linkurl=<?php echo $linkurl_enc; ?>"<?php echo $style; ?>><?php echo $button; ?></a>
 
 
 
67
 
68
  <?php
69
 
80
  . A2A_menu_locale()
81
  . 'a2a_linkname="' . js_escape($linkname) . '";' . "\n"
82
  . 'a2a_linkurl="' . $linkurl . '";' . "\n"
83
+ . ((get_option('A2A_SHARE_SAVE_onclick')=='1') ? 'a2a_onclick=1;' . "\n" : '')
84
  . ((get_option('A2A_SHARE_SAVE_hide_embeds')=='-1') ? 'a2a_hide_embeds=0;' . "\n" : '')
85
  . ((get_option('A2A_SHARE_SAVE_show_title')=='1') ? 'a2a_show_title=1;' . "\n" : '')
86
  . stripslashes(get_option('A2A_SHARE_SAVE_additional_js_variables')) . "\n"