AddToAny Share Buttons - Version 1.1.2

Version Description

  • Fix settings page conflict with certain features of the Jetpack plugin and other plugins & themes
    • Fix saving of 3rd party button options (for Facebook Like, Twitter Tweet, Google +1)
    • Fix service sorting
  • Add Pocket (formerly Read It Later)
  • Remove Read It Later (now Pocket)
  • Remove HelloTxt
  • Update Slashdot icon
Download this release

Release Info

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

Code changes from version 1.1.1 to 1.1.2

README.txt CHANGED
@@ -2,8 +2,8 @@
2
  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.6
6
- Stable tag: 1.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,15 @@ Upload the plugin directory (including all files and directories within) to the
219
 
220
  == Changelog ==
221
 
 
 
 
 
 
 
 
 
 
222
  = 1.1.1 =
223
  * Add Pinboard
224
  * Add Buffer
2
  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.2
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.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)
225
+ * Fix service sorting
226
+ * Add Pocket (formerly Read It Later)
227
+ * Remove Read It Later (now Pocket)
228
+ * Remove HelloTxt
229
+ * Update Slashdot icon
230
+
231
  = 1.1.1 =
232
  * Add Pinboard
233
  * Add Buffer
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.1
7
  Author: micropat
8
  Author URI: http://www.addtoany.com/
9
  */
@@ -1195,9 +1195,9 @@ function A2A_SHARE_SAVE_admin_head() {
1195
  service_name = services_array[i].substr(7);
1196
  if (service_name == 'facebook_like' || service_name == 'twitter_tweet' || service_name == 'google_plusone' || service_name == 'google_plus_share') {
1197
  if ((service_name == 'twitter_tweet' || service_name == 'google_plusone' || service_name == 'google_plus_share') && jQuery('#' + services_array[i] + '_show_count').is(':checked'))
1198
- jQuery('form:first').append('<input name="addtoany_' + service_name + '_show_count" type="hidden" value="1"/>');
1199
  if ((service_name == 'facebook_like') && jQuery('#' + services_array[i] + '_verb').val() == 'recommend')
1200
- jQuery('form:first').append('<input name="addtoany_' + service_name + '_verb" type="hidden" value="recommend"/>');
1201
  }
1202
  }
1203
  }
@@ -1278,7 +1278,7 @@ function A2A_SHARE_SAVE_admin_head() {
1278
  jQuery('#addtoany_services_selectable li').bind('click', moveToSortableList);
1279
 
1280
  // Form submit = get sortable list
1281
- jQuery('form').submit(function(){to_input('#addtoany_services_sortable')});
1282
 
1283
  // Auto-select active services
1284
  <?php
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.2
7
  Author: micropat
8
  Author URI: http://www.addtoany.com/
9
  */
1195
  service_name = services_array[i].substr(7);
1196
  if (service_name == 'facebook_like' || service_name == 'twitter_tweet' || service_name == 'google_plusone' || service_name == 'google_plus_share') {
1197
  if ((service_name == 'twitter_tweet' || service_name == 'google_plusone' || service_name == 'google_plus_share') && jQuery('#' + services_array[i] + '_show_count').is(':checked'))
1198
+ jQuery('#addtoany_admin_form').append('<input name="addtoany_' + service_name + '_show_count" type="hidden" value="1"/>');
1199
  if ((service_name == 'facebook_like') && jQuery('#' + services_array[i] + '_verb').val() == 'recommend')
1200
+ jQuery('#addtoany_admin_form').append('<input name="addtoany_' + service_name + '_verb" type="hidden" value="recommend"/>');
1201
  }
1202
  }
1203
  }
1278
  jQuery('#addtoany_services_selectable li').bind('click', moveToSortableList);
1279
 
1280
  // Form submit = get sortable list
1281
+ jQuery('#addtoany_admin_form').submit(function(){to_input('#addtoany_services_sortable')});
1282
 
1283
  // Auto-select active services
1284
  <?php
icons/hellotxt.png DELETED
Binary file
icons/pocket.png ADDED
Binary file
icons/read_it_later.png DELETED
Binary file
icons/slashdot.png CHANGED
Binary file
services.php CHANGED
@@ -196,10 +196,6 @@ $A2A_SHARE_SAVE_services = Array(
196
  "name" => "Hatena",
197
  "icon" => "hatena",
198
  ),
199
- "hellotxt" => Array(
200
- "name" => "HelloTxt",
201
- "icon" => "hellotxt",
202
- ),
203
  "hemidemi" => Array(
204
  "name" => "Hemidemi",
205
  "icon" => "hemidemi",
@@ -372,6 +368,10 @@ $A2A_SHARE_SAVE_services = Array(
372
  "name" => "Plurk",
373
  "icon" => "plurk",
374
  ),
 
 
 
 
375
  "print" => Array(
376
  "name" => "Print",
377
  "icon" => "print",
@@ -393,10 +393,6 @@ $A2A_SHARE_SAVE_services = Array(
393
  "name" => "QQ",
394
  "icon" => "qq",
395
  ),
396
- "read_it_later" => Array(
397
- "name" => "Read It Later",
398
- "icon" => "read_it_later",
399
- ),
400
  "reddit" => Array(
401
  "name" => "Reddit",
402
  "icon" => "reddit",
196
  "name" => "Hatena",
197
  "icon" => "hatena",
198
  ),
 
 
 
 
199
  "hemidemi" => Array(
200
  "name" => "Hemidemi",
201
  "icon" => "hemidemi",
368
  "name" => "Plurk",
369
  "icon" => "plurk",
370
  ),
371
+ "pocket" => Array(
372
+ "name" => "Pocket",
373
+ "icon" => "pocket",
374
+ ),
375
  "print" => Array(
376
  "name" => "Print",
377
  "icon" => "print",
393
  "name" => "QQ",
394
  "icon" => "qq",
395
  ),
 
 
 
 
396
  "reddit" => Array(
397
  "name" => "Reddit",
398
  "icon" => "reddit",