AddToAny Share Buttons - Version 1.7.30

Version Description

  • Fix issue where the "Show count" checkbox was unavailable for some services in settings
Download this release

Release Info

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

Code changes from version 1.7.29 to 1.7.30

Files changed (3) hide show
  1. README.txt +4 -1
  2. add-to-any.php +1 -1
  3. addtoany.admin.php +4 -6
README.txt CHANGED
@@ -4,7 +4,7 @@ Tags: buttons, share, icons, social media, share buttons, sharing, share button,
4
  Requires at least: 3.7
5
  Tested up to: 5.0
6
  Requires PHP: 5.2
7
- Stable tag: 1.7.29
8
 
9
  Share buttons for WordPress including the AddToAny sharing button, Facebook, Twitter, Google+, Pinterest, WhatsApp, many more, and follow icons too.
10
 
@@ -350,6 +350,9 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
350
 
351
  == Changelog ==
352
 
 
 
 
353
  = 1.7.29 =
354
  * Initialize AddToAny Follow buttons on the `post-load` event
355
  * Harden the local cache option to keep caches updated
4
  Requires at least: 3.7
5
  Tested up to: 5.0
6
  Requires PHP: 5.2
7
+ Stable tag: 1.7.30
8
 
9
  Share buttons for WordPress including the AddToAny sharing button, Facebook, Twitter, Google+, Pinterest, WhatsApp, many more, and follow icons too.
10
 
350
 
351
  == Changelog ==
352
 
353
+ = 1.7.30 =
354
+ * Fix issue where the "Show count" checkbox was unavailable for some services in settings
355
+
356
  = 1.7.29 =
357
  * Initialize AddToAny Follow buttons on the `post-load` event
358
  * Harden the local cache option to keep caches updated
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.
6
- Version: 1.7.29
7
  Author: AddToAny
8
  Author URI: https://www.addtoany.com/
9
  Text Domain: add-to-any
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.
6
+ Version: 1.7.30
7
  Author: AddToAny
8
  Author URI: https://www.addtoany.com/
9
  Text Domain: add-to-any
addtoany.admin.php CHANGED
@@ -1004,13 +1004,11 @@ function A2A_SHARE_SAVE_admin_head() {
1004
  jQuery('#addtoany_services_sortable').find('.dummy').hide();
1005
 
1006
  if (this_service_is_special) {
1007
- if ( jQuery.inArray( this_service_name, ['facebook_like', 'pinterest_pin'] ) > -1 ) {
1008
- // Common "Show count" for facebook, pinterest, pinterest_pin, etc.
1009
- if (service_options[this_service_name] && service_options[this_service_name].show_count) {
1010
- checked = ' checked="checked"';
1011
- }
1012
- special_options_html += '<label><input' + checked + ' id="' + this_service.attr('id') + '_show_count" name="' + this_service.attr('id') + '_show_count" type="checkbox" value="1"> Show count</label>';
1013
  }
 
1014
 
1015
  if ('facebook_like' == this_service_name) {
1016
  if (service_options[this_service_name] && service_options[this_service_name].verb)
1004
  jQuery('#addtoany_services_sortable').find('.dummy').hide();
1005
 
1006
  if (this_service_is_special) {
1007
+ // Common "Show count" for facebook, pinterest, pinterest_pin, etc.
1008
+ if (service_options[this_service_name] && service_options[this_service_name].show_count) {
1009
+ checked = ' checked="checked"';
 
 
 
1010
  }
1011
+ special_options_html += '<label><input' + checked + ' id="' + this_service.attr('id') + '_show_count" name="' + this_service.attr('id') + '_show_count" type="checkbox" value="1"> Show count</label>';
1012
 
1013
  if ('facebook_like' == this_service_name) {
1014
  if (service_options[this_service_name] && service_options[this_service_name].verb)