Version Description
- Fix large text-only icon where the AddToAny universal icon was appearing
- Remove !important style declaration for small universal icon (thanks Tom Bryan)
- Remove Mister Wong
- Remove Yigg
Download this release
Release Info
Developer | micropat |
Plugin | AddToAny Share Buttons |
Version | 1.3.4 |
Comparing to | |
See all releases |
Code changes from version 1.3.3 to 1.3.4
- README.txt +7 -1
- add-to-any.php +6 -4
- addtoany.min.css +1 -1
- addtoany.services.php +0 -8
- icons/mister-wong.png +0 -0
- icons/yigg.png +0 -0
README.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: micropat, addtoany
|
|
3 |
Tags: sharing, share, share this, bookmarking, social, share button, share buttons, share links, social share, social sharing, social bookmarking, social bookmarks, socialize, bookmark, bookmarks, save, Post, posts, page, pages, images, image, admin, statistics, stats, links, plugin, shortcode, sidebar, widget, responsive, email, e-mail, print, seo, button, delicious, google, tumblr, linkedin, digg, reddit, facebook, facebook share, facebook like, like, twitter, twitter button, twitter share, tweet, tweet button, +1, plus 1, google +1, google plus, google plus one, plus one, pinterest, pin, pin it, pinit, wanelo, buffer, stumbleupon, bitly, technorati, lockerz, addthis, sociable, sharedaddy, sharethis, shareaholic, icon, icons, vector, SVG, floating, floating buttons, wpmu, Add to Any, AddToAny
|
4 |
Requires at least: 2.8
|
5 |
Tested up to: 3.9.2
|
6 |
-
Stable tag: 1.3.
|
7 |
|
8 |
Share buttons for WordPress including AddToAny's universal sharing button, Facebook, Twitter, Google+, Pinterest, StumbleUpon and many more.
|
9 |
|
@@ -279,6 +279,12 @@ Upload the plugin directory (including all files and directories within) to the
|
|
279 |
|
280 |
== Changelog ==
|
281 |
|
|
|
|
|
|
|
|
|
|
|
|
|
282 |
= 1.3.3 =
|
283 |
* Append trailing slash to custom icons location as necessary
|
284 |
* Point to additional placement options and information
|
3 |
Tags: sharing, share, share this, bookmarking, social, share button, share buttons, share links, social share, social sharing, social bookmarking, social bookmarks, socialize, bookmark, bookmarks, save, Post, posts, page, pages, images, image, admin, statistics, stats, links, plugin, shortcode, sidebar, widget, responsive, email, e-mail, print, seo, button, delicious, google, tumblr, linkedin, digg, reddit, facebook, facebook share, facebook like, like, twitter, twitter button, twitter share, tweet, tweet button, +1, plus 1, google +1, google plus, google plus one, plus one, pinterest, pin, pin it, pinit, wanelo, buffer, stumbleupon, bitly, technorati, lockerz, addthis, sociable, sharedaddy, sharethis, shareaholic, icon, icons, vector, SVG, floating, floating buttons, wpmu, Add to Any, AddToAny
|
4 |
Requires at least: 2.8
|
5 |
Tested up to: 3.9.2
|
6 |
+
Stable tag: 1.3.4
|
7 |
|
8 |
Share buttons for WordPress including AddToAny's universal sharing button, Facebook, Twitter, Google+, Pinterest, StumbleUpon and many more.
|
9 |
|
279 |
|
280 |
== Changelog ==
|
281 |
|
282 |
+
= 1.3.4 =
|
283 |
+
* Fix large text-only icon where the AddToAny universal icon was appearing
|
284 |
+
* Remove !important style declaration for small universal icon (thanks Tom Bryan)
|
285 |
+
* Remove Mister Wong
|
286 |
+
* Remove Yigg
|
287 |
+
|
288 |
= 1.3.3 =
|
289 |
* Append trailing slash to custom icons location as necessary
|
290 |
* Point to additional placement options and information
|
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: Share buttons for your pages including AddToAny's universal sharing button, Facebook, Twitter, Google+, Pinterest, StumbleUpon and many more. [<a href="options-general.php?page=add-to-any.php">Settings</a>]
|
6 |
-
Version: 1.3.
|
7 |
Author: AddToAny
|
8 |
Author URI: http://www.addtoany.com/
|
9 |
*/
|
@@ -344,13 +344,15 @@ function ADDTOANY_SHARE_SAVE_BUTTON( $args = array() ) {
|
|
344 |
|
345 |
if ( ! isset( $options['button'] ) || 'A2A_SVG_32' == $options['button'] || isset( $no_small_icons ) && true == $no_small_icons ) {
|
346 |
// Skip button IMG for A2A icon insertion
|
347 |
-
$button_text
|
348 |
} else if ( isset( $options['button'] ) && 'CUSTOM' == $options['button'] ) {
|
349 |
$button_src = $options['button_custom'];
|
350 |
$button_width = '';
|
351 |
$button_height = '';
|
352 |
} else if ( isset( $options['button'] ) && 'TEXT' == $options['button'] ) {
|
353 |
$button_text = stripslashes( $options[ 'button_text'] );
|
|
|
|
|
354 |
} else {
|
355 |
$button_attrs = explode( '|', $options['button'] );
|
356 |
$button_fname = $button_attrs[0];
|
@@ -364,7 +366,7 @@ function ADDTOANY_SHARE_SAVE_BUTTON( $args = array() ) {
|
|
364 |
|
365 |
if ( isset( $button_fname ) && ( $button_fname == 'favicon.png' || $button_fname == 'share_16_16.png' ) ) {
|
366 |
if ( ! $is_feed ) {
|
367 |
-
$style_bg = 'background:url(' . $A2A_SHARE_SAVE_plugin_url_path . '/' . $button_fname . ') no-repeat scroll 4px 0px
|
368 |
$style = ' style="' . $style_bg . 'padding:0 0 0 25px;display:inline-block;height:16px;vertical-align:middle"'; // padding-left:21+4 (4=other icons padding)
|
369 |
}
|
370 |
}
|
@@ -884,7 +886,7 @@ function A2A_SHARE_SAVE_stylesheet() {
|
|
884 |
// Use stylesheet?
|
885 |
if ( ! isset( $options['inline_css'] ) || $options['inline_css'] != '-1' && ! is_admin() ) {
|
886 |
|
887 |
-
wp_enqueue_style( 'A2A_SHARE_SAVE', $A2A_SHARE_SAVE_plugin_url_path . '/addtoany.min.css', false, '1.
|
888 |
|
889 |
// wp_add_inline_style requires WP 3.3+
|
890 |
if ( '3.3' <= get_bloginfo( 'version' ) ) {
|
3 |
Plugin Name: Share Buttons by AddToAny
|
4 |
Plugin URI: http://www.addtoany.com/
|
5 |
Description: Share buttons for your pages including AddToAny's universal sharing button, Facebook, Twitter, Google+, Pinterest, StumbleUpon and many more. [<a href="options-general.php?page=add-to-any.php">Settings</a>]
|
6 |
+
Version: 1.3.4
|
7 |
Author: AddToAny
|
8 |
Author URI: http://www.addtoany.com/
|
9 |
*/
|
344 |
|
345 |
if ( ! isset( $options['button'] ) || 'A2A_SVG_32' == $options['button'] || isset( $no_small_icons ) && true == $no_small_icons ) {
|
346 |
// Skip button IMG for A2A icon insertion
|
347 |
+
$button_text = '';
|
348 |
} else if ( isset( $options['button'] ) && 'CUSTOM' == $options['button'] ) {
|
349 |
$button_src = $options['button_custom'];
|
350 |
$button_width = '';
|
351 |
$button_height = '';
|
352 |
} else if ( isset( $options['button'] ) && 'TEXT' == $options['button'] ) {
|
353 |
$button_text = stripslashes( $options[ 'button_text'] );
|
354 |
+
// Do not display universal icon (when large icons are used)
|
355 |
+
$button_class .= ' addtoany_no_icon';
|
356 |
} else {
|
357 |
$button_attrs = explode( '|', $options['button'] );
|
358 |
$button_fname = $button_attrs[0];
|
366 |
|
367 |
if ( isset( $button_fname ) && ( $button_fname == 'favicon.png' || $button_fname == 'share_16_16.png' ) ) {
|
368 |
if ( ! $is_feed ) {
|
369 |
+
$style_bg = 'background:url(' . $A2A_SHARE_SAVE_plugin_url_path . '/' . $button_fname . ') no-repeat scroll 4px 0px;';
|
370 |
$style = ' style="' . $style_bg . 'padding:0 0 0 25px;display:inline-block;height:16px;vertical-align:middle"'; // padding-left:21+4 (4=other icons padding)
|
371 |
}
|
372 |
}
|
886 |
// Use stylesheet?
|
887 |
if ( ! isset( $options['inline_css'] ) || $options['inline_css'] != '-1' && ! is_admin() ) {
|
888 |
|
889 |
+
wp_enqueue_style( 'A2A_SHARE_SAVE', $A2A_SHARE_SAVE_plugin_url_path . '/addtoany.min.css', false, '1.7' );
|
890 |
|
891 |
// wp_add_inline_style requires WP 3.3+
|
892 |
if ( '3.3' <= get_bloginfo( 'version' ) ) {
|
addtoany.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.addtoany_share_save_container{clear:both;margin:16px 0}.addtoany_list{display:inline;line-height:16px}.addtoany_list a{display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle}.addtoany_list a img{border:0;height:auto;opacity:1;overflow:hidden;vertical-align:top;width:auto}.addtoany_list.a2a_kit_size_32 a{font-size:32px}.addtoany_list.a2a_kit_size_32 a span{border-radius:4px;display:inline-block;height:32px;line-height:32px;opacity:1;width:32px}.addtoany_list a:hover img,.addtoany_list a:hover span{opacity:.7}.addtoany_list a.addtoany_special_service:hover img,.addtoany_list a.addtoany_special_service:hover span{opacity:1}.addtoany_special_service{display:inline-block;vertical-align:middle}.addtoany_special_service a,.addtoany_special_service div,.addtoany_special_service iframe,.addtoany_special_service span{margin:0;vertical-align:baseline}.addtoany_special_service iframe{max-width:none}a.addtoany_share_save img{border:0;width:auto;height:auto}
|
1 |
+
.addtoany_share_save_container{clear:both;margin:16px 0}.addtoany_list{display:inline;line-height:16px}.addtoany_list a{display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle}.addtoany_list a img{border:0;height:auto;opacity:1;overflow:hidden;vertical-align:top;width:auto}.addtoany_list.a2a_kit_size_32 a{font-size:32px}.addtoany_list.a2a_kit_size_32 a span{border-radius:4px;display:inline-block;height:32px;line-height:32px;opacity:1;width:32px}.addtoany_list a:hover img,.addtoany_list a:hover span{opacity:.7}.addtoany_list a.addtoany_special_service:hover img,.addtoany_list a.addtoany_special_service:hover span{opacity:1}.addtoany_special_service{display:inline-block;vertical-align:middle}.addtoany_special_service a,.addtoany_special_service div,.addtoany_special_service iframe,.addtoany_special_service span{margin:0;vertical-align:baseline}.addtoany_special_service iframe{max-width:none}a.addtoany_share_save.addtoany_no_icon span.a2a_img_text{display:none}a.addtoany_share_save img{border:0;width:auto;height:auto}
|
addtoany.services.php
CHANGED
@@ -240,10 +240,6 @@ $A2A_SHARE_SAVE_services = array(
|
|
240 |
"name" => "Meneame",
|
241 |
"icon" => "meneame",
|
242 |
),
|
243 |
-
"mister_wong" => array(
|
244 |
-
"name" => "Mister-Wong",
|
245 |
-
"icon" => "mister-wong",
|
246 |
-
),
|
247 |
"myspace" => array(
|
248 |
"name" => "MySpace",
|
249 |
"icon" => "myspace",
|
@@ -433,10 +429,6 @@ $A2A_SHARE_SAVE_services = array(
|
|
433 |
"name" => "Yahoo Messenger",
|
434 |
"icon" => "yim",
|
435 |
),
|
436 |
-
"yigg" => array(
|
437 |
-
"name" => "YiGG",
|
438 |
-
"icon" => "yigg",
|
439 |
-
),
|
440 |
"yoolink" => array(
|
441 |
"name" => "Yoolink",
|
442 |
"icon" => "yoolink",
|
240 |
"name" => "Meneame",
|
241 |
"icon" => "meneame",
|
242 |
),
|
|
|
|
|
|
|
|
|
243 |
"myspace" => array(
|
244 |
"name" => "MySpace",
|
245 |
"icon" => "myspace",
|
429 |
"name" => "Yahoo Messenger",
|
430 |
"icon" => "yim",
|
431 |
),
|
|
|
|
|
|
|
|
|
432 |
"yoolink" => array(
|
433 |
"name" => "Yoolink",
|
434 |
"icon" => "yoolink",
|
icons/mister-wong.png
DELETED
Binary file
|
icons/yigg.png
DELETED
Binary file
|