Version Description
- Fix validation and semantics of script tag placement, particularly when button is contained in a list element
Download this release
Release Info
Developer | micropat |
Plugin | AddToAny Share Buttons |
Version | 1.1.3 |
Comparing to | |
See all releases |
Code changes from version 1.1.2 to 1.1.3
- README.txt +4 -1
- add-to-any.php +5 -2
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, email, e-mail, seo, button, delicious, google buzz, buzz, google, linkedin, digg, reddit, facebook, facebook like, like, myspace, twitter, tweet, +1, plus 1, google plus, google plus one, plus one, pinterest, messenger, stumbleupon, technorati, lockerz, addthis, sexybookmarks, sociable, sharedaddy, shareaholic, icon, icons, wpmu, addtoany
|
4 |
Requires at least: 2.8
|
5 |
Tested up to: 3.7
|
6 |
-
Stable tag: 1.1.
|
7 |
|
8 |
Sharing buttons for your pages from the universal sharing platform, including Facebook, Twitter, Google+, Pinterest, StumbleUpon and many more.
|
9 |
|
@@ -219,6 +219,9 @@ Upload the plugin directory (including all files and directories within) to the
|
|
219 |
|
220 |
== Changelog ==
|
221 |
|
|
|
|
|
|
|
222 |
= 1.1.2 =
|
223 |
* Fix settings page conflict with certain features of the Jetpack plugin and other plugins & themes
|
224 |
* Fix saving of 3rd party button options (for Facebook Like, Twitter Tweet, Google +1)
|
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, linkedin, digg, reddit, facebook, facebook like, like, myspace, twitter, tweet, +1, plus 1, google plus, google plus one, plus one, pinterest, messenger, stumbleupon, technorati, lockerz, addthis, sexybookmarks, sociable, sharedaddy, shareaholic, icon, icons, wpmu, addtoany
|
4 |
Requires at least: 2.8
|
5 |
Tested up to: 3.7
|
6 |
+
Stable tag: 1.1.3
|
7 |
|
8 |
Sharing buttons for your pages from the universal sharing platform, including Facebook, Twitter, Google+, Pinterest, StumbleUpon and many more.
|
9 |
|
219 |
|
220 |
== Changelog ==
|
221 |
|
222 |
+
= 1.1.3 =
|
223 |
+
* Fix validation and semantics of script tag placement, particularly when button is contained in a list element
|
224 |
+
|
225 |
= 1.1.2 =
|
226 |
* Fix settings page conflict with certain features of the Jetpack plugin and other plugins & themes
|
227 |
* Fix saving of 3rd party button options (for Facebook Like, Twitter Tweet, Google +1)
|
add-to-any.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Share Buttons by AddToAny
|
4 |
Plugin URI: http://www.addtoany.com/
|
5 |
Description: Sharing buttons for your pages from the universal sharing platform, including Facebook, Twitter, Google+, Pinterest, StumbleUpon and many more. [<a href="options-general.php?page=add-to-any.php">Settings</a>]
|
6 |
-
Version: 1.1.
|
7 |
Author: micropat
|
8 |
Author URI: http://www.addtoany.com/
|
9 |
*/
|
@@ -292,7 +292,7 @@ function ADDTOANY_SHARE_SAVE_BUTTON( $args = array() ) {
|
|
292 |
|
293 |
$button_html = $html_container_open . $html_wrap_open . '<a class="a2a_dd' . $button_class . ' addtoany_share_save" href="http://www.addtoany.com/share_save' .$button_href_querystring . '"' . $button_id
|
294 |
. $style . $button_target
|
295 |
-
. '>' . $button . '</a>'
|
296 |
|
297 |
// If not a feed
|
298 |
if( ! $is_feed ) {
|
@@ -316,6 +316,9 @@ function ADDTOANY_SHARE_SAVE_BUTTON( $args = array() ) {
|
|
316 |
$_addtoany_init = TRUE;
|
317 |
}
|
318 |
|
|
|
|
|
|
|
319 |
if ( $output_later )
|
320 |
return $button_html;
|
321 |
else
|
3 |
Plugin Name: Share Buttons by AddToAny
|
4 |
Plugin URI: http://www.addtoany.com/
|
5 |
Description: Sharing buttons for your pages from the universal sharing platform, including Facebook, Twitter, Google+, Pinterest, StumbleUpon and many more. [<a href="options-general.php?page=add-to-any.php">Settings</a>]
|
6 |
+
Version: 1.1.3
|
7 |
Author: micropat
|
8 |
Author URI: http://www.addtoany.com/
|
9 |
*/
|
292 |
|
293 |
$button_html = $html_container_open . $html_wrap_open . '<a class="a2a_dd' . $button_class . ' addtoany_share_save" href="http://www.addtoany.com/share_save' .$button_href_querystring . '"' . $button_id
|
294 |
. $style . $button_target
|
295 |
+
. '>' . $button . '</a>';
|
296 |
|
297 |
// If not a feed
|
298 |
if( ! $is_feed ) {
|
316 |
$_addtoany_init = TRUE;
|
317 |
}
|
318 |
|
319 |
+
// Closing tags come after <script> to validate in case the container is a list element
|
320 |
+
$button_html .= $html_wrap_close . $html_container_close;
|
321 |
+
|
322 |
if ( $output_later )
|
323 |
return $button_html;
|
324 |
else
|