AddToAny Share Buttons - Version 1.3.5

Version Description

  • Fix 'small icon + text' double-icon issue where the AddToAny Kit icon would appear in addition to packaged icon
  • Adjust default placement options for better control over the excepts option
Download this release

Release Info

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

Code changes from version 1.3.4 to 1.3.5

Files changed (3) hide show
  1. README.txt +7 -3
  2. add-to-any.php +4 -1
  3. addtoany.admin.php +13 -14
README.txt CHANGED
@@ -2,8 +2,8 @@
2
  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.4
7
 
8
  Share buttons for WordPress including AddToAny's universal sharing button, Facebook, Twitter, Google+, Pinterest, StumbleUpon and many more.
9
 
@@ -273,12 +273,16 @@ Upload the plugin directory (including all files and directories within) to the
273
  1. Large vector sharing buttons (SVG icons) are pixel-perfect on Retina and high-DPI dispays
274
  2. Share/Save sharing button features Facebook, Twitter, and a universal share icon
275
  3. Drop-down universal share menu that appears instantly when visitors use the share button
276
- 4. Email tab, with direct links to the most popular web-based emailers' auto-filled Compose page, a web-based sender for use with any email address, and a link for desktop email applications
277
  5. Settings panel
278
  6. Color chooser for your universal share menu
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)
2
  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: 4.0
6
+ Stable tag: 1.3.5
7
 
8
  Share buttons for WordPress including AddToAny's universal sharing button, Facebook, Twitter, Google+, Pinterest, StumbleUpon and many more.
9
 
273
  1. Large vector sharing buttons (SVG icons) are pixel-perfect on Retina and high-DPI dispays
274
  2. Share/Save sharing button features Facebook, Twitter, and a universal share icon
275
  3. Drop-down universal share menu that appears instantly when visitors use the share button
276
+ 4. Modal universal share menu that includes all services
277
  5. Settings panel
278
  6. Color chooser for your universal share menu
279
 
280
  == Changelog ==
281
 
282
+ = 1.3.5 =
283
+ * Fix 'small icon + text' double-icon issue where the AddToAny Kit icon would appear in addition to packaged icon
284
+ * Adjust default placement options for better control over the excepts option
285
+
286
  = 1.3.4 =
287
  * Fix large text-only icon where the AddToAny universal icon was appearing
288
  * Remove !important style declaration for small universal icon (thanks Tom Bryan)
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.4
7
  Author: AddToAny
8
  Author URI: http://www.addtoany.com/
9
  */
@@ -368,6 +368,9 @@ function ADDTOANY_SHARE_SAVE_BUTTON( $args = array() ) {
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
  }
373
 
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.5
7
  Author: AddToAny
8
  Author URI: http://www.addtoany.com/
9
  */
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
+ // Wrap in <span> to avoid showing the core-AddToAny Kit icon in addition to plugin's icon
373
+ $button_text = ( isset( $button_text ) ) ? '<span>' . $button_text . '</span>' : '<span></span>';
374
  }
375
  }
376
 
addtoany.admin.php CHANGED
@@ -511,15 +511,7 @@ function A2A_SHARE_SAVE_options_page() {
511
  <label>
512
  <input id="A2A_SHARE_SAVE_display_in_posts" name="A2A_SHARE_SAVE_display_in_posts" type="checkbox"<?php
513
  if ( ! isset( $options['display_in_posts'] ) || $options['display_in_posts'] != '-1' ) echo ' checked="checked"'; ?> value="1"/>
514
- <?php printf(__('Display at the %s of posts', 'add-to-any'), position_in_content($options, TRUE)); ?> <strong>*</strong>
515
- </label>
516
- <br/>
517
- <label>
518
- &nbsp; &nbsp; &nbsp; <input class="A2A_SHARE_SAVE_child_of_display_in_posts" name="A2A_SHARE_SAVE_display_in_excerpts" type="checkbox"<?php
519
- if ( ! isset( $options['display_in_excerpts'] ) || $options['display_in_excerpts'] != '-1' ) echo ' checked="checked"';
520
- if ( isset( $options['display_in_posts'] ) && $options['display_in_posts'] == '-1' ) echo ' disabled="disabled"';
521
- ?> value="1"/>
522
- <?php printf(__('Display at the %s of post excerpts', 'add-to-any'), position_in_content($options)); ?>
523
  </label>
524
  <br/>
525
  <label>
@@ -527,7 +519,7 @@ function A2A_SHARE_SAVE_options_page() {
527
  if ( ! isset( $options['display_in_posts_on_front_page'] ) || $options['display_in_posts_on_front_page'] != '-1' ) echo ' checked="checked"';
528
  if ( isset( $options['display_in_posts'] ) && $options['display_in_posts'] == '-1' ) echo ' disabled="disabled"';
529
  ?> value="1"/>
530
- <?php printf(__('Display at the %s of posts on the front page', 'add-to-any'), position_in_content($options)); ?>
531
  </label>
532
  <br/>
533
  <label>
@@ -535,7 +527,7 @@ function A2A_SHARE_SAVE_options_page() {
535
  if ( ! isset( $options['display_in_posts_on_archive_pages'] ) || $options['display_in_posts_on_archive_pages'] != '-1' ) echo ' checked="checked"';
536
  if ( isset( $options['display_in_posts'] ) && $options['display_in_posts'] == '-1' ) echo ' disabled="disabled"';
537
  ?> value="1"/>
538
- <?php printf(__('Display at the %s of posts on archive pages', 'add-to-any'), position_in_content($options)); ?>
539
  </label>
540
  <br/>
541
  <label>
@@ -543,12 +535,19 @@ function A2A_SHARE_SAVE_options_page() {
543
  if ( ! isset( $options['display_in_feed'] ) || $options['display_in_feed'] != '-1' ) echo ' checked="checked"';
544
  if ( isset( $options['display_in_posts'] ) && $options['display_in_posts'] == '-1' ) echo ' disabled="disabled"';
545
  ?> value="1"/>
546
- <?php printf(__('Display at the %s of posts in the feed', 'add-to-any'), position_in_content($options)); ?>
 
 
 
 
 
 
 
547
  </label>
548
  <br/>
549
  <label>
550
  <input name="A2A_SHARE_SAVE_display_in_pages" type="checkbox"<?php if ( ! isset( $options['display_in_pages'] ) || $options['display_in_pages'] != '-1' ) echo ' checked="checked"'; ?> value="1"/>
551
- <?php printf(__('Display at the %s of pages', 'add-to-any'), position_in_content($options, TRUE)); ?>
552
  </label>
553
  <br/><br/>
554
  <div class="setting-description">
@@ -720,7 +719,7 @@ function A2A_SHARE_SAVE_options_page() {
720
 
721
  <h2><?php _e('Like this plugin?','add-to-any'); ?></h2>
722
  <p><?php _e('<a href="http://wordpress.org/extend/plugins/add-to-any/">Give it a good rating</a> on WordPress.org.','add-to-any'); ?></p>
723
- <p><?php _e('<a href="http://www.addtoany.com/share_save?linkname=WordPress%20Share%20%2F%20Bookmark%20Plugin%20by%20AddToAny.com&amp;linkurl=http%3A%2F%2Fwordpress.org%2Fextend%2Fplugins%2Fadd-to-any%2F">Share it</a> with your friends.','add-to-any'); ?> <a href="https://www.facebook.com/AddToAny" target="_blank">Facebook</a> / <a href="https://twitter.com/AddToAny" target="_blank">Twitter</a></p>
724
 
725
  <h2><?php _e('Need support?','add-to-any'); ?></h2>
726
  <p><?php _e('See the <a href="http://wordpress.org/extend/plugins/add-to-any/faq/">FAQs</a>.','add-to-any'); ?></p>
511
  <label>
512
  <input id="A2A_SHARE_SAVE_display_in_posts" name="A2A_SHARE_SAVE_display_in_posts" type="checkbox"<?php
513
  if ( ! isset( $options['display_in_posts'] ) || $options['display_in_posts'] != '-1' ) echo ' checked="checked"'; ?> value="1"/>
514
+ <?php printf(__('Display at the %s of posts', 'add-to-any'), position_in_content( $options, true )); ?>
 
 
 
 
 
 
 
 
515
  </label>
516
  <br/>
517
  <label>
519
  if ( ! isset( $options['display_in_posts_on_front_page'] ) || $options['display_in_posts_on_front_page'] != '-1' ) echo ' checked="checked"';
520
  if ( isset( $options['display_in_posts'] ) && $options['display_in_posts'] == '-1' ) echo ' disabled="disabled"';
521
  ?> value="1"/>
522
+ <?php printf(__('Display at the %s of posts on the front page', 'add-to-any'), position_in_content( $options )); ?>
523
  </label>
524
  <br/>
525
  <label>
527
  if ( ! isset( $options['display_in_posts_on_archive_pages'] ) || $options['display_in_posts_on_archive_pages'] != '-1' ) echo ' checked="checked"';
528
  if ( isset( $options['display_in_posts'] ) && $options['display_in_posts'] == '-1' ) echo ' disabled="disabled"';
529
  ?> value="1"/>
530
+ <?php printf(__('Display at the %s of posts on archive pages', 'add-to-any'), position_in_content( $options )); ?>
531
  </label>
532
  <br/>
533
  <label>
535
  if ( ! isset( $options['display_in_feed'] ) || $options['display_in_feed'] != '-1' ) echo ' checked="checked"';
536
  if ( isset( $options['display_in_posts'] ) && $options['display_in_posts'] == '-1' ) echo ' disabled="disabled"';
537
  ?> value="1"/>
538
+ <?php printf(__('Display at the %s of posts in the feed', 'add-to-any'), position_in_content( $options )); ?>
539
+ </label>
540
+ <br/>
541
+ <label>
542
+ <input name="A2A_SHARE_SAVE_display_in_excerpts" type="checkbox"<?php
543
+ if ( ! isset( $options['display_in_excerpts'] ) || $options['display_in_excerpts'] != '-1' ) echo ' checked="checked"';
544
+ ?> value="1"/>
545
+ <?php printf(__('Display at the %s of excerpts', 'add-to-any'), position_in_content( $options, false )); ?>
546
  </label>
547
  <br/>
548
  <label>
549
  <input name="A2A_SHARE_SAVE_display_in_pages" type="checkbox"<?php if ( ! isset( $options['display_in_pages'] ) || $options['display_in_pages'] != '-1' ) echo ' checked="checked"'; ?> value="1"/>
550
+ <?php printf(__('Display at the %s of pages', 'add-to-any'), position_in_content( $options, false )); ?>
551
  </label>
552
  <br/><br/>
553
  <div class="setting-description">
719
 
720
  <h2><?php _e('Like this plugin?','add-to-any'); ?></h2>
721
  <p><?php _e('<a href="http://wordpress.org/extend/plugins/add-to-any/">Give it a good rating</a> on WordPress.org.','add-to-any'); ?></p>
722
+ <p><?php _e('<a href="http://www.addtoany.com/share_save#title=WordPress%20Share%20Plugin%20by%20AddToAny.com&amp;url=http%3A%2F%2Fwordpress.org%2Fplugins%2Fadd-to-any%2F">Share it</a> and follow <a href="http://www.addtoany.com/">AddToAny</a> on <a href="https://www.facebook.com/AddToAny" target="_blank">Facebook</a> &amp; <a href="https://twitter.com/AddToAny" target="_blank">Twitter</a>.','add-to-any'); ?></p>
723
 
724
  <h2><?php _e('Need support?','add-to-any'); ?></h2>
725
  <p><?php _e('See the <a href="http://wordpress.org/extend/plugins/add-to-any/faq/">FAQs</a>.','add-to-any'); ?></p>