AddToAny Share Buttons - Version 1.6.10

Version Description

  • Enable simpler syntax when using multiple share message templates
  • Override box shadow on buttons caused by CSS such as the default Twenty Sixteen theme's
  • Replace deprecated WP function used for the local cache option
Download this release

Release Info

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

Code changes from version 1.6.9 to 1.6.10

Files changed (3) hide show
  1. README.txt +43 -36
  2. add-to-any.php +7 -3
  3. addtoany.min.css +1 -1
README.txt CHANGED
@@ -1,9 +1,9 @@
1
  === AddToAny Share Buttons ===
2
  Contributors: micropat, addtoany
3
- Tags: AddToAny, sharing, share, social, share button, share buttons, social media, media, marketing, bookmark, bookmarks, save, post, posts, page, pages, images, image, admin, analytics, statistics, stats, links, plugin, shortcode, sidebar, widget, responsive, email, e-mail, print, seo, button, woocommerce, ecommerce, e-commerce, amazon, delicious, google, tumblr, linkedin, digg, reddit, facebook, facebook share, facebook like, like, twitter, twitter button, twitter share, tweet, tweet button, google plus, pinterest, pin, pin it, pinit, wanelo, buffer, stumbleupon, bitly, whatsapp, instagram, behance, flickr, foursquare, vimeo, youtube, feed, rss, lockerz, addthis, sociable, share this, sharethis, shareaholic, icon, icons, vector, SVG, floating, floating buttons, wpml, wpmu, Add to Any
4
  Requires at least: 2.8
5
  Tested up to: 4.4
6
- Stable tag: 1.6.9
7
 
8
  Share buttons for WordPress including the AddToAny sharing button, Facebook, Twitter, Google+, Pinterest, WhatsApp, many more, and follow icons too.
9
 
@@ -119,17 +119,17 @@ Yes, you can place your sharing buttons exactly where you want them by inserting
119
  `[addtoany]`
120
 
121
  You can also customize the shared URL like so:
122
- `[addtoany url="http://www.example.com/page.html" title="Some Example Page"]`
123
 
124
  = For Facebook sharing, how can I set the thumbnail image and description Facebook uses? =
125
 
126
  Facebook does link sharing differently than most other services. Facebook expects the Title, Description, and Thumbnail of a shared page to be defined in the actual HTML code of a shared page. Unlike other services that accept common parameters, Facebook only accepts a URL, then Facebook scans the actual page for details. To change the title, description or image on Facebook, you will need to modify your theme or use another plugin that filters your theme.
127
 
128
- Try running Facebook's <a href="https://developers.facebook.com/tools/debug">URL Debugger</a> on your pages to see how Facebook reads your site. "Fetch new scrape information" to test site changes and clear Facebook's cache of a page.
129
 
130
- To change the title, description and/or image on Facebook, your theme's header file should be modified according to <a href="https://developers.facebook.com/docs/opengraph/">Facebook's OpenGraph specification</a>. With WordPress, this can be accomplished with plugins such as the <a href="https://wordpress.org/plugins/wordpress-seo/">WordPress SEO by Yoast</a> or the <a href="https://wordpress.org/plugins/all-in-one-seo-pack/">All in One SEO Pack</a>. Please see those plugins for details, and post in the WordPress or plugin author's forums for more support.
131
 
132
- For more technical information on setting your pages up for Facebook sharing, see "Facebook Sharing Checklist" in <a href="https://developers.facebook.com/docs/plugins/checklist/">Facebook's documentation</a>.
133
 
134
  = Why do share links route through AddToAny? =
135
 
@@ -146,7 +146,7 @@ In the Theme Editor, place this code block where you want the button and individ
146
 
147
  If you want to customize the shared URL and title, use the following code as a template:
148
  `<?php if ( function_exists( 'ADDTOANY_SHARE_SAVE_KIT' ) ) {
149
- ADDTOANY_SHARE_SAVE_KIT( array( 'linkname' => 'Example Page', 'linkurl' => 'http://example.com/page.html' ) );
150
  } ?>`
151
 
152
  If you want to share the current URL and title (detected on the client-side), use the following code:
@@ -297,9 +297,16 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
297
 
298
  == Changelog ==
299
 
 
 
 
 
 
300
  = 1.6.9 =
301
  * Fix decoding of HTML entities in shared titles when the default character encoding is not UTF-8
302
- * Update languages and use language packs
 
 
303
 
304
  = 1.6.8 =
305
  * Universal share counter is now available
@@ -383,7 +390,7 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
383
  * Remove Springpad
384
 
385
  = 1.5.6 =
386
- * Bulgarian translation (by <a href="http://melleum.com/">Artem Delik</a>)
387
  * Update French translation to resolve missing placement options
388
 
389
  = 1.5.5 =
@@ -474,7 +481,7 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
474
  * Point to additional placement options and information
475
  * Remove old placement instructions for hardcoding
476
  * Remove old error reporting suppression in admin
477
- * Ukrainian translation (by Michael Yunat, <a href="http://getvoip.com">http://getvoip.com</a>)
478
 
479
  = 1.3.2 =
480
  * Avoid loading button script in admin, especially for visual editor plugins
@@ -605,7 +612,7 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
605
 
606
  = 1.2.3 =
607
  * Adjust CSS to improve icon and text alignment
608
- * Add <a href="http://wordpress.org/plugins/add-to-any/faq/">FAQ</a> for removing sharing button(s) from Archive pages (including Category, Tag, Author, Date, and Search pages)
609
 
610
  = 1.2.2 =
611
  * Fix code formatting (indents, newlines)
@@ -686,7 +693,7 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
686
 
687
  = 1.0.2 =
688
  * Add new Google+ Share button
689
- * Update <a href="http://wordpress.org/plugins/add-to-any/faq/">FAQ</a> for resizing advanced 3rd party buttons
690
 
691
  = 1.0.1 =
692
  * Fix markup output for advanced 3rd party buttons when displayed as WordPress widget
@@ -696,7 +703,7 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
696
  * Load advanced 3rd party buttons faster (Facebook Like, Twitter Tweet, Google +1)
697
  * Use A2A Kit for speed, extensibility, measurability
698
  * Adjust CSS to accommodate external resources for advanced 3rd party buttons
699
- * Lithuanian translation (by Vincent G. from <a href="http://www.host1free.com/">Host1Free</a>)
700
 
701
  = .9.9.9.9 =
702
  * Fix hardcoded fallbacks for sharing endpoints
@@ -742,12 +749,12 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
742
  = .9.9.9.4 =
743
  * Fix Google +1 Button (Google changed the URL)
744
  * Fix Irish translation filename
745
- * Russian translation update (by <a href="http://fweb.org.ru/">Elvis</a>)
746
 
747
  = .9.9.9.3 =
748
  * W3C XHTML validation fix for the Google +1 Button iframe (thanks bobpeers)
749
  * Remove condition for displaying target attribute on standalone services so that custom service links open in a new window (thanks kg69design)
750
- * Irish translation (by <a href="http://letsbefamous.com/">Ray</a>)
751
 
752
  = .9.9.9.2 =
753
  * Facebook Like Button can be changed to Facebook Recommend Button (verb/action)
@@ -797,7 +804,7 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
797
  * The widget will share the current page
798
  * Shortcode for sharing
799
  * Usage for sharing current post or page: `[addtoany]`
800
- * Usage for sharing a specific URL: `[addtoany url="http://www.example.com/page.html" title="Some Example Page"]`
801
  * Add use_current_page boolean argument to PHP template code (default is false)
802
 
803
  = .9.9.7.14 =
@@ -811,7 +818,7 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
811
  * Fix IE conditional comment bug that affects Facebook Like button & Twitter Tweet button iframes in some browsers
812
 
813
  = .9.9.7.12 =
814
- * Update Tumblr icon (thanks <a href="http://blog.mattalgren.com/">Matt</a>)
815
  * Reduce icon filesizes
816
  * blip.png
817
  * box.png
@@ -836,7 +843,7 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
836
 
837
  = .9.9.7.11 =
838
  * Turkish translation (by Fatih Aker)
839
- * Russian translation update (by <a href="http://fweb.org.ru/">Elvis</a>)
840
 
841
  = .9.9.7.10 =
842
  * Fix initial button text for 16px icons in admin
@@ -855,10 +862,10 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
855
  * Rename VK to the more recognized Vkontakte
856
 
857
  = .9.9.7.7 =
858
- * Fix <a href="http://wordpress.org/support/topic/plugin-addtoany-sharebookmarkemail-button-white-space-around-twitter-icon">IE iframe transparency issue</a> for Facebook Like & Twitter Tweet buttons
859
  * Note: Extra IE conditional markup added to maintain W3C validity
860
  * Remove stray colon character appended to Twitter Tweet button URL
861
- * Italian translation update (by <a href="http://gidibao.net/">Gianni</a>)
862
 
863
  = .9.9.7.6 =
864
  * Add option: Display at the top of posts
@@ -895,14 +902,14 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
895
  * Remove Windows Live Favorites
896
  * Remove Windows Live Spaces
897
  * Remove Propeller
898
- * German translation (by Richard Laufenberg of <a href="http://www.portavision.de/">MediaCenter Laufenberg</a>)
899
 
900
  = .9.9.7 =
901
  * W3C XHTML validation fix for the Twitter Tweet iframe
902
  * Remove non-standard allowtransparency attribute on Like & Tweet iframes
903
  * Note that Like & Tweet (both require iframes) will not validate for themes that use a Strict doctype because XHTML Strict does not support frames
904
  * Update standalone Twitter icon
905
- * Persian translation (by <a href="http://www.najeekurd.net/">Najeekurd</a>)
906
 
907
  = .9.9.6.9 =
908
  * Facebook Like button
@@ -912,7 +919,7 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
912
 
913
  = .9.9.6.8 =
914
  * A2A Kit is now inline again for backwards compatibility with manual placements
915
- * Container (used for the default auto-placement) now clears floats to fix <a href="http://wordpress.org/support/topic/plugin-addtoany-sharebookmarkemail-button-button-not-at-bottom-of-post">position issue when an image is aligned left or right</a>
916
 
917
  = .9.9.6.7 =
918
  * Major overhaul of CSS stylesheet again
@@ -931,7 +938,7 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
931
  = .9.9.6.5 =
932
  * Add class-names to use official <a href="https://www.addtoany.com/buttons/customize/wordpress/standalone_services">Standalone Services Kit</a>
933
  * Google Analytics stats for individual services
934
- * Dutch translation (by Rene from <a href="http://wpwebshop.com/premium-wordpress-plugins/">WordPress Webshop</a>)
935
 
936
  = .9.9.6.4 =
937
  * Option to toggle displaying at the bottom of excerpts
@@ -957,11 +964,11 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
957
 
958
  = .9.9.6.1 =
959
  * Fix critical bug introduced in last release that caused an empty shared item to be used on non-single post pages
960
- * Thanks to <a href="http://www.macmanx.com/">James</a> for the report!
961
 
962
  = .9.9.6 =
963
  * Require WordPress 2.8
964
- * 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/plugins/add-to-any/download/">earlier</a>
965
  * Fix validation problem caused by WordPress' lack of support for CDATA sections in posts
966
  * http://core.trac.wordpress.org/ticket/3670 - WordPress fix slated for 3.1, then @todo reevaluate
967
  * Replace deprecated functions
@@ -988,7 +995,7 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
988
 
989
  = .9.9.5.6 =
990
  * Fix PHP warnings when there are no arguments from functions ADDTOANY_SHARE_SAVE_BUTTON or ADDTOANY_SHARE_SAVE_ICONS
991
- * Italian translation update (by <a href="http://gidibao.net/">Gianni</a>)
992
 
993
  = .9.9.5.5 =
994
  * Fix notices when in debug mode
@@ -1005,7 +1012,7 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
1005
  * Avoids premature calling from miscellaneous the_content filters from themes and other plugins
1006
  * Thesis theme workaround
1007
  * French translation (by Julien)
1008
- * Belarusian translation update (by <a href="http://pc.de/">Marcis G</a>)
1009
 
1010
  = .9.9.5.2 =
1011
  * W3C XHTML validation fix (invalid from .9.9.5)
@@ -1018,7 +1025,7 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
1018
  * Updated template code in admin
1019
  * Switched API URL to customize URL in admin
1020
  * Fixed unbracketed noscript tag in admin
1021
- * Brazilian Portuguese translation (by <a href="http://www.raocubo.com.br/">Rodolfo Rodrigues</a>)
1022
 
1023
  = .9.9.5.1 =
1024
  * Fixed issue with excerpts (JavaScript text output within excerpts since .9.9.5)
@@ -1065,7 +1072,7 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
1065
  * diHITT
1066
  * Removed standalone service
1067
  * Global Grind
1068
- * Japanese translation (by <a href="http://wpxtreme.jp/">kz</a>)
1069
 
1070
  = .9.9.4.7 =
1071
  * Just a slight rename
@@ -1111,8 +1118,8 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
1111
 
1112
  = .9.9.4.1 =
1113
  * Twitter icon included in standard sharing button
1114
- * Albanian translation (by <a href="http://www.romeolab.com/">Romeo Shuka</a>)
1115
- * Romanian translation (by <a href="http://www.stefandes.com/">Stefan</a>)
1116
 
1117
  = .9.9.4 =
1118
  * Custom standalone service support
@@ -1189,7 +1196,7 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
1189
  * Alt attribute added to standalone service image
1190
  * Title attribute added to standalone service link
1191
  * Selected standalone services in admin are more distinguishable
1192
- * Italian translation (by <a href="http://gidibao.net/">Gianni</a>)
1193
  * i18n folder renamed to languages due to a problem with the CodeStyling Localization plugin
1194
  * Contrast improvements to Open Share Icon
1195
 
@@ -1203,7 +1210,7 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
1203
  * Fixed display when all standalone services are removed in admin
1204
  * Services label renamed Standalone Services for clarity
1205
  * Updates to Danish translation
1206
- * Added Belarusian translation (by <a href="http://pc.de/">Marcis G</a>)
1207
 
1208
  = .9.9.2.1 =
1209
  * Feed icons shown inline, no longer displayed in unordered list
@@ -1232,7 +1239,7 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
1232
  = .9.8.9 =
1233
  * wp_footer() detection
1234
  * Replaced short form of PHP's open tags with long form to work around configurations with shortopentag disabled
1235
- * Spanish translation (by <a href="http://pablo.poo.cl/">Pablo</a>)
1236
 
1237
  = .9.8.8.4 =
1238
  * Settings panel submits to current page instead of unreliable REQUEST_URI which can omit querystring on IIS
@@ -1247,7 +1254,7 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
1247
  = .9.8.8.1 =
1248
  * Refine conditionals
1249
  * Highlight admin notices
1250
- * Danish translation (by <a href="http://wordpress.blogos.dk/">Georg</a>)
1251
 
1252
  = .9.8.8 =
1253
  * Now customize the optional text next to the 16 x 16px icons
1
  === AddToAny Share Buttons ===
2
  Contributors: micropat, addtoany
3
+ Tags: AddToAny, sharing, share, social, share button, share buttons, share links, social media, media, marketing, bookmark, bookmarks, save, post, posts, page, pages, images, image, admin, analytics, statistics, stats, links, plugin, shortcode, sidebar, widget, responsive, email, e-mail, print, seo, button, woocommerce, ecommerce, e-commerce, amazon, delicious, google, tumblr, linkedin, digg, reddit, facebook, facebook share, facebook like, like, twitter, twitter button, twitter share, tweet, tweet button, google plus, pinterest, pin, pin it, pinit, wanelo, buffer, stumbleupon, bitly, whatsapp, instagram, behance, flickr, foursquare, vimeo, youtube, feed, rss, lockerz, addthis, sociable, share this, sharethis, shareaholic, icon, icons, vector, SVG, floating, floating buttons, wpml, wpmu, Add to Any
4
  Requires at least: 2.8
5
  Tested up to: 4.4
6
+ Stable tag: 1.6.10
7
 
8
  Share buttons for WordPress including the AddToAny sharing button, Facebook, Twitter, Google+, Pinterest, WhatsApp, many more, and follow icons too.
9
 
119
  `[addtoany]`
120
 
121
  You can also customize the shared URL like so:
122
+ `[addtoany url="https://www.example.com/page.html" title="Some Example Page"]`
123
 
124
  = For Facebook sharing, how can I set the thumbnail image and description Facebook uses? =
125
 
126
  Facebook does link sharing differently than most other services. Facebook expects the Title, Description, and Thumbnail of a shared page to be defined in the actual HTML code of a shared page. Unlike other services that accept common parameters, Facebook only accepts a URL, then Facebook scans the actual page for details. To change the title, description or image on Facebook, you will need to modify your theme or use another plugin that filters your theme.
127
 
128
+ Try running Facebook's <a href="https://developers.facebook.com/tools/debug/">URL Debugger</a> on your pages to see how Facebook reads your site. "Fetch new scrape information" to test site changes and clear Facebook's cache of a page.
129
 
130
+ To change the title, description and/or image on Facebook, your theme's header file should be modified according to <a href="https://developers.facebook.com/docs/sharing/opengraph">Facebook's OpenGraph specification</a>. With WordPress, this can be accomplished with plugins such as the <a href="https://wordpress.org/plugins/wordpress-seo/">Yoast SEO</a> or the <a href="https://wordpress.org/plugins/all-in-one-seo-pack/">All in One SEO Pack</a>. Please see those plugins for details, and post in the WordPress or plugin author's forums for more support.
131
 
132
+ For more technical information on setting your pages up for Facebook sharing, see "Sharing Best Practices for Websites" in <a href="https://developers.facebook.com/docs/sharing/best-practices">Facebook's documentation</a>.
133
 
134
  = Why do share links route through AddToAny? =
135
 
146
 
147
  If you want to customize the shared URL and title, use the following code as a template:
148
  `<?php if ( function_exists( 'ADDTOANY_SHARE_SAVE_KIT' ) ) {
149
+ ADDTOANY_SHARE_SAVE_KIT( array( 'linkname' => 'Example Page', 'linkurl' => 'https://example.com/page.html' ) );
150
  } ?>`
151
 
152
  If you want to share the current URL and title (detected on the client-side), use the following code:
297
 
298
  == Changelog ==
299
 
300
+ = 1.6.10 =
301
+ * Enable simpler syntax when using multiple share message templates
302
+ * Override box shadow on buttons caused by CSS such as the default Twenty Sixteen theme's
303
+ * Replace deprecated WP function used for the local cache option
304
+
305
  = 1.6.9 =
306
  * Fix decoding of HTML entities in shared titles when the default character encoding is not UTF-8
307
+ * Update packaged languages
308
+ * Use Romanian language pack (thanks Adrian Pop)
309
+ * Use Swedish language pack (thanks Piani)
310
 
311
  = 1.6.8 =
312
  * Universal share counter is now available
390
  * Remove Springpad
391
 
392
  = 1.5.6 =
393
+ * Bulgarian translation (by Artem Delik)
394
  * Update French translation to resolve missing placement options
395
 
396
  = 1.5.5 =
481
  * Point to additional placement options and information
482
  * Remove old placement instructions for hardcoding
483
  * Remove old error reporting suppression in admin
484
+ * Ukrainian translation (by Michael Yunat, http://getvoip.com)
485
 
486
  = 1.3.2 =
487
  * Avoid loading button script in admin, especially for visual editor plugins
612
 
613
  = 1.2.3 =
614
  * Adjust CSS to improve icon and text alignment
615
+ * Add FAQ for removing sharing button(s) from Archive pages (including Category, Tag, Author, Date, and Search pages)
616
 
617
  = 1.2.2 =
618
  * Fix code formatting (indents, newlines)
693
 
694
  = 1.0.2 =
695
  * Add new Google+ Share button
696
+ * Update FAQ for resizing advanced 3rd party buttons
697
 
698
  = 1.0.1 =
699
  * Fix markup output for advanced 3rd party buttons when displayed as WordPress widget
703
  * Load advanced 3rd party buttons faster (Facebook Like, Twitter Tweet, Google +1)
704
  * Use A2A Kit for speed, extensibility, measurability
705
  * Adjust CSS to accommodate external resources for advanced 3rd party buttons
706
+ * Lithuanian translation (by Vincent G.)
707
 
708
  = .9.9.9.9 =
709
  * Fix hardcoded fallbacks for sharing endpoints
749
  = .9.9.9.4 =
750
  * Fix Google +1 Button (Google changed the URL)
751
  * Fix Irish translation filename
752
+ * Russian translation update (by Elvis)
753
 
754
  = .9.9.9.3 =
755
  * W3C XHTML validation fix for the Google +1 Button iframe (thanks bobpeers)
756
  * Remove condition for displaying target attribute on standalone services so that custom service links open in a new window (thanks kg69design)
757
+ * Irish translation (by Ray)
758
 
759
  = .9.9.9.2 =
760
  * Facebook Like Button can be changed to Facebook Recommend Button (verb/action)
804
  * The widget will share the current page
805
  * Shortcode for sharing
806
  * Usage for sharing current post or page: `[addtoany]`
807
+ * Usage for sharing a specific URL: `[addtoany url="https://www.example.com/page.html" title="Some Example Page"]`
808
  * Add use_current_page boolean argument to PHP template code (default is false)
809
 
810
  = .9.9.7.14 =
818
  * Fix IE conditional comment bug that affects Facebook Like button & Twitter Tweet button iframes in some browsers
819
 
820
  = .9.9.7.12 =
821
+ * Update Tumblr icon (thanks Matt)
822
  * Reduce icon filesizes
823
  * blip.png
824
  * box.png
843
 
844
  = .9.9.7.11 =
845
  * Turkish translation (by Fatih Aker)
846
+ * Russian translation update (by Elvis)
847
 
848
  = .9.9.7.10 =
849
  * Fix initial button text for 16px icons in admin
862
  * Rename VK to the more recognized Vkontakte
863
 
864
  = .9.9.7.7 =
865
+ * Fix IE iframe transparency issue for Facebook Like & Twitter Tweet buttons
866
  * Note: Extra IE conditional markup added to maintain W3C validity
867
  * Remove stray colon character appended to Twitter Tweet button URL
868
+ * Italian translation update (by Gianni)
869
 
870
  = .9.9.7.6 =
871
  * Add option: Display at the top of posts
902
  * Remove Windows Live Favorites
903
  * Remove Windows Live Spaces
904
  * Remove Propeller
905
+ * German translation (by Richard Laufenberg of MediaCenter Laufenberg)
906
 
907
  = .9.9.7 =
908
  * W3C XHTML validation fix for the Twitter Tweet iframe
909
  * Remove non-standard allowtransparency attribute on Like & Tweet iframes
910
  * Note that Like & Tweet (both require iframes) will not validate for themes that use a Strict doctype because XHTML Strict does not support frames
911
  * Update standalone Twitter icon
912
+ * Persian translation (by Najeekurd)
913
 
914
  = .9.9.6.9 =
915
  * Facebook Like button
919
 
920
  = .9.9.6.8 =
921
  * A2A Kit is now inline again for backwards compatibility with manual placements
922
+ * Container (used for the default auto-placement) now clears floats to fix position issue when an image is aligned left or right
923
 
924
  = .9.9.6.7 =
925
  * Major overhaul of CSS stylesheet again
938
  = .9.9.6.5 =
939
  * Add class-names to use official <a href="https://www.addtoany.com/buttons/customize/wordpress/standalone_services">Standalone Services Kit</a>
940
  * Google Analytics stats for individual services
941
+ * Dutch translation (by Rene from WordPress Webshop)
942
 
943
  = .9.9.6.4 =
944
  * Option to toggle displaying at the bottom of excerpts
964
 
965
  = .9.9.6.1 =
966
  * Fix critical bug introduced in last release that caused an empty shared item to be used on non-single post pages
967
+ * Thanks to <a href="https://macmanx.com/">James</a> for the report!
968
 
969
  = .9.9.6 =
970
  * Require WordPress 2.8
971
+ * For WordPress versions 2.0 through 2.7.1 use version .9.9.5.9 or earlier
972
  * Fix validation problem caused by WordPress' lack of support for CDATA sections in posts
973
  * http://core.trac.wordpress.org/ticket/3670 - WordPress fix slated for 3.1, then @todo reevaluate
974
  * Replace deprecated functions
995
 
996
  = .9.9.5.6 =
997
  * Fix PHP warnings when there are no arguments from functions ADDTOANY_SHARE_SAVE_BUTTON or ADDTOANY_SHARE_SAVE_ICONS
998
+ * Italian translation update (by Gianni)
999
 
1000
  = .9.9.5.5 =
1001
  * Fix notices when in debug mode
1012
  * Avoids premature calling from miscellaneous the_content filters from themes and other plugins
1013
  * Thesis theme workaround
1014
  * French translation (by Julien)
1015
+ * Belarusian translation update (by Marcis G)
1016
 
1017
  = .9.9.5.2 =
1018
  * W3C XHTML validation fix (invalid from .9.9.5)
1025
  * Updated template code in admin
1026
  * Switched API URL to customize URL in admin
1027
  * Fixed unbracketed noscript tag in admin
1028
+ * Brazilian Portuguese translation (by Rodolfo Rodrigues)
1029
 
1030
  = .9.9.5.1 =
1031
  * Fixed issue with excerpts (JavaScript text output within excerpts since .9.9.5)
1072
  * diHITT
1073
  * Removed standalone service
1074
  * Global Grind
1075
+ * Japanese translation (by kz)
1076
 
1077
  = .9.9.4.7 =
1078
  * Just a slight rename
1118
 
1119
  = .9.9.4.1 =
1120
  * Twitter icon included in standard sharing button
1121
+ * Albanian translation (by Romeo Shuka)
1122
+ * Romanian translation (by Stefan)
1123
 
1124
  = .9.9.4 =
1125
  * Custom standalone service support
1196
  * Alt attribute added to standalone service image
1197
  * Title attribute added to standalone service link
1198
  * Selected standalone services in admin are more distinguishable
1199
+ * Italian translation (by Gianni)
1200
  * i18n folder renamed to languages due to a problem with the CodeStyling Localization plugin
1201
  * Contrast improvements to Open Share Icon
1202
 
1210
  * Fixed display when all standalone services are removed in admin
1211
  * Services label renamed Standalone Services for clarity
1212
  * Updates to Danish translation
1213
+ * Added Belarusian translation (by Marcis G)
1214
 
1215
  = .9.9.2.1 =
1216
  * Feed icons shown inline, no longer displayed in unordered list
1239
  = .9.8.9 =
1240
  * wp_footer() detection
1241
  * Replaced short form of PHP's open tags with long form to work around configurations with shortopentag disabled
1242
+ * Spanish translation (by Pablo)
1243
 
1244
  = .9.8.8.4 =
1245
  * Settings panel submits to current page instead of unreliable REQUEST_URI which can omit querystring on IIS
1254
  = .9.8.8.1 =
1255
  * Refine conditionals
1256
  * Highlight admin notices
1257
+ * Danish translation (by Georg)
1258
 
1259
  = .9.8.8 =
1260
  * Now customize the optional text next to the 16 x 16px icons
add-to-any.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: AddToAny Share Buttons
4
  Plugin URI: https://www.addtoany.com/
5
  Description: Share buttons for your pages including AddToAny's universal sharing button, Facebook, Twitter, Google+, Pinterest, WhatsApp and many more. [<a href="options-general.php?page=add-to-any.php">Settings</a>]
6
- Version: 1.6.9
7
  Author: AddToAny
8
  Author URI: https://www.addtoany.com/
9
  Text Domain: add-to-any
@@ -774,6 +774,7 @@ function A2A_SHARE_SAVE_head_script() {
774
 
775
  . "a2a_config.callbacks=a2a_config.callbacks||[];"
776
  . "a2a_config.callbacks.push({ready:wpa2a.script_onready});"
 
777
  . A2A_menu_locale()
778
  . $script_configs
779
 
@@ -962,7 +963,7 @@ function A2A_SHARE_SAVE_stylesheet() {
962
  // Use stylesheet?
963
  if ( ! isset( $options['inline_css'] ) || $options['inline_css'] != '-1' && ! is_admin() ) {
964
 
965
- wp_enqueue_style( 'A2A_SHARE_SAVE', $A2A_SHARE_SAVE_plugin_url_path . '/addtoany.min.css', false, '1.11' );
966
 
967
  // wp_add_inline_style requires WP 3.3+
968
  if ( '3.3' <= get_bloginfo( 'version' ) ) {
@@ -1061,7 +1062,10 @@ function A2A_SHARE_SAVE_refresh_cache() {
1061
  $file_name = substr( strrchr( $file_url, '/' ), 1, 99 );
1062
 
1063
  // Place files in uploads/addtoany directory
1064
- wp_get_http( $file_url, $upload_dir['basedir'] . '/addtoany/' . $file_name );
 
 
 
1065
  }
1066
  }
1067
  }
3
  Plugin Name: AddToAny Share Buttons
4
  Plugin URI: https://www.addtoany.com/
5
  Description: Share buttons for your pages including AddToAny's universal sharing button, Facebook, Twitter, Google+, Pinterest, WhatsApp and many more. [<a href="options-general.php?page=add-to-any.php">Settings</a>]
6
+ Version: 1.6.10
7
  Author: AddToAny
8
  Author URI: https://www.addtoany.com/
9
  Text Domain: add-to-any
774
 
775
  . "a2a_config.callbacks=a2a_config.callbacks||[];"
776
  . "a2a_config.callbacks.push({ready:wpa2a.script_onready});"
777
+ . "a2a_config.templates=a2a_config.templates||{};"
778
  . A2A_menu_locale()
779
  . $script_configs
780
 
963
  // Use stylesheet?
964
  if ( ! isset( $options['inline_css'] ) || $options['inline_css'] != '-1' && ! is_admin() ) {
965
 
966
+ wp_enqueue_style( 'A2A_SHARE_SAVE', $A2A_SHARE_SAVE_plugin_url_path . '/addtoany.min.css', false, '1.12' );
967
 
968
  // wp_add_inline_style requires WP 3.3+
969
  if ( '3.3' <= get_bloginfo( 'version' ) ) {
1062
  $file_name = substr( strrchr( $file_url, '/' ), 1, 99 );
1063
 
1064
  // Place files in uploads/addtoany directory
1065
+ wp_remote_get( $file_url, array(
1066
+ 'filename' => $upload_dir['basedir'] . '/addtoany/' . $file_name,
1067
+ 'stream' => true, // Required to use `filename` arg
1068
+ ) );
1069
  }
1070
  }
1071
  }
addtoany.min.css CHANGED
@@ -1 +1 @@
1
- .addtoany_share_save_container{clear:both;margin:16px 0}.addtoany_header{margin:0 0 16px}.addtoany_list{display:inline;line-height:16px}.addtoany_list a{border:0;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle}.addtoany_list a img{border:0;display:inline-block;height:auto;opacity:1;overflow:hidden;vertical-align:baseline;width:auto}.addtoany_list a span{display:inline-block;float:none}.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 .a2a_count{position:relative;vertical-align:top}.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 div.fb_iframe_widget,.addtoany_special_service span{margin:0;vertical-align:baseline!important}.addtoany_special_service iframe{display:inline;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}
1
+ .addtoany_share_save_container{clear:both;margin:16px 0}.addtoany_header{margin:0 0 16px}.addtoany_list{display:inline;line-height:16px}.addtoany_list a{border:0;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle}.addtoany_list a img{border:0;display:inline-block;height:auto;opacity:1;overflow:hidden;vertical-align:baseline;width:auto}.addtoany_list a span{display:inline-block;float:none}.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 .a2a_count{position:relative;vertical-align:top}.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 div.fb_iframe_widget,.addtoany_special_service span{margin:0;vertical-align:baseline!important}.addtoany_special_service iframe{display:inline;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}