AddToAny Share Buttons - Version 0.9.9.1

Version Description

Download this release

Release Info

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

Code changes from version 0.9.9 to 0.9.9.1

Files changed (2) hide show
  1. README.txt +8 -3
  2. add-to-any.php +9 -2
README.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.addtoany.com/contact/
4
  Tags: bookmarking, social, social bookmarking, bookmark, bookmarks, sharing, share, saving, save, Post, posts, page, pages, images, image, admin, statistics, stats, links, plugin, widget, e-mail, email, seo, button, delicious, google, digg, reddit, facebook, myspace, twitter, stumbleupon, technorati, wpmu, addtoany, add, any
5
  Requires at least: 2.0
6
  Tested up to: 2.7.1
7
- Stable tag: 0.9.9
8
 
9
  Helps readers share, save, bookmark, and email your posts and pages using any service, such as Facebook, Twitter, Digg, Delicious and over 100 more.
10
 
@@ -101,11 +101,16 @@ This is done to overcome browser limitations that prevent the drop-down menu fro
101
 
102
  == Changelog ==
103
 
 
 
 
 
104
  .9.9:
105
 
106
- * Individual service icons & links!
 
107
  * .addtoany_share_save_container is now <div>, not <p>
108
- * Add to Any button now wrapped within <ul><li> (unless standalone)
109
 
110
  .9.8.9.2:
111
 
4
  Tags: bookmarking, social, social bookmarking, bookmark, bookmarks, sharing, share, saving, save, Post, posts, page, pages, images, image, admin, statistics, stats, links, plugin, widget, e-mail, email, seo, button, delicious, google, digg, reddit, facebook, myspace, twitter, stumbleupon, technorati, wpmu, addtoany, add, any
5
  Requires at least: 2.0
6
  Tested up to: 2.7.1
7
+ Stable tag: 0.9.9.1
8
 
9
  Helps readers share, save, bookmark, and email your posts and pages using any service, such as Facebook, Twitter, Digg, Delicious and over 100 more.
10
 
101
 
102
  == Changelog ==
103
 
104
+ .9.9.1:
105
+
106
+ * Add services.php (critical fix)
107
+
108
  .9.9:
109
 
110
+ * NEW: Individual service links!
111
+ * Drag & Drop interface with preview
112
  * .addtoany_share_save_container is now <div>, not <p>
113
+ * Add to Any button now contained within <ul><li>
114
 
115
  .9.8.9.2:
116
 
add-to-any.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Add to Any: Share/Save/Bookmark Button
4
  Plugin URI: http://www.addtoany.com/
5
  Description: Helps readers share, save, bookmark, and email your posts and pages using any service. [<a href="options-general.php?page=add-to-any.php">Settings</a>]
6
- Version: .9.9
7
  Author: Add to Any
8
  Author URI: http://www.addtoany.com/contact/
9
  */
@@ -60,6 +60,9 @@ function ADDTOANY_SHARE_SAVE_ICONS( $args = false ) {
60
 
61
  $ind_html = "";
62
 
 
 
 
63
  foreach($active_services as $active_service) {
64
 
65
  // Skip unknown
@@ -403,7 +406,9 @@ function A2A_SHARE_SAVE_options_page() {
403
  <?php
404
  // Show all services
405
  $active_services = get_option('A2A_SHARE_SAVE_active_services');
406
-
 
 
407
  foreach ($A2A_SHARE_SAVE_services as $service_safe_name=>$site) { ?>
408
  <li id="a2a_wp_<?php echo $service_safe_name; ?>"
409
  title="<?php echo $site['name']; ?>">
@@ -674,6 +679,8 @@ function A2A_SHARE_SAVE_admin_head() {
674
  $admin_services_saved = is_array($_POST['A2A_SHARE_SAVE_active_services']);
675
  $active_services = ( $admin_services_saved )
676
  ? $_POST['A2A_SHARE_SAVE_active_services'] : get_option('A2A_SHARE_SAVE_active_services');
 
 
677
  $active_services_last = end($active_services);
678
  $active_services_quoted = '';
679
  foreach ($active_services as $service) {
3
  Plugin Name: Add to Any: Share/Save/Bookmark Button
4
  Plugin URI: http://www.addtoany.com/
5
  Description: Helps readers share, save, bookmark, and email your posts and pages using any service. [<a href="options-general.php?page=add-to-any.php">Settings</a>]
6
+ Version: .9.9.1
7
  Author: Add to Any
8
  Author URI: http://www.addtoany.com/contact/
9
  */
60
 
61
  $ind_html = "";
62
 
63
+ if( !$active_services )
64
+ $active_services = Array();
65
+
66
  foreach($active_services as $active_service) {
67
 
68
  // Skip unknown
406
  <?php
407
  // Show all services
408
  $active_services = get_option('A2A_SHARE_SAVE_active_services');
409
+ if( !$active_services )
410
+ $active_services = Array();
411
+
412
  foreach ($A2A_SHARE_SAVE_services as $service_safe_name=>$site) { ?>
413
  <li id="a2a_wp_<?php echo $service_safe_name; ?>"
414
  title="<?php echo $site['name']; ?>">
679
  $admin_services_saved = is_array($_POST['A2A_SHARE_SAVE_active_services']);
680
  $active_services = ( $admin_services_saved )
681
  ? $_POST['A2A_SHARE_SAVE_active_services'] : get_option('A2A_SHARE_SAVE_active_services');
682
+ if( !$active_services )
683
+ $active_services = Array();
684
  $active_services_last = end($active_services);
685
  $active_services_quoted = '';
686
  foreach ($active_services as $service) {