AddToAny Share Buttons - Version 0.9.8.6.2

Version Description

Download this release

Release Info

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

Code changes from version 0.9.8.6.1 to 0.9.8.6.2

Files changed (2) hide show
  1. README.txt +5 -1
  2. add-to-any.php +2 -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, addtoany, add, any
5
  Requires at least: 2.0
6
  Tested up to: 2.7
7
- Stable tag: 0.9.8.6.1
8
 
9
  Helps readers share, save, and bookmark your posts and pages using any service, such as Delicious, Digg, Facebook, MySpace, and all the rest.
10
 
@@ -66,6 +66,10 @@ This is done to overcome browser limitations that prevent the drop-down menu fro
66
 
67
  == Changelog ==
68
 
 
 
 
 
69
  .9.8.6.1:
70
 
71
  * Fixed buttons if WordPress files are in a subdirectory while the blog appears in the site root
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, addtoany, add, any
5
  Requires at least: 2.0
6
  Tested up to: 2.7
7
+ Stable tag: 0.9.8.6.2
8
 
9
  Helps readers share, save, and bookmark your posts and pages using any service, such as Delicious, Digg, Facebook, MySpace, and all the rest.
10
 
66
 
67
  == Changelog ==
68
 
69
+ .9.8.6.2:
70
+
71
+ * Current page title + blog title are used if called outside The Loop
72
+
73
  .9.8.6.1:
74
 
75
  * Fixed buttons if WordPress files are in a subdirectory while the blog appears in the site root
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, and bookmark your posts and pages using any service. [<a href="options-general.php?page=add-to-any.php">Settings</a>]
6
- Version: .9.8.6.1
7
  Author: Add to Any
8
  Author URI: http://www.addtoany.com/contact/
9
  */
@@ -32,7 +32,7 @@ function ADDTOANY_SHARE_SAVE_BUTTON( $args = false) {
32
 
33
  $sitename_enc = rawurlencode( get_bloginfo('name') );
34
  $siteurl_enc = rawurlencode( trailingslashit( get_bloginfo('url') ) );
35
- $linkname = ( $linkname ) ? $linkname : get_the_title();
36
  $linkname_enc = rawurlencode( $linkname );
37
  $linkurl = ( in_the_loop() ) ?
38
  /* Current post (if within loop) or current page */
3
  Plugin Name: Add to Any: Share/Save/Bookmark Button
4
  Plugin URI: http://www.addtoany.com/
5
  Description: Helps readers share, save, and bookmark your posts and pages using any service. [<a href="options-general.php?page=add-to-any.php">Settings</a>]
6
+ Version: .9.8.6.2
7
  Author: Add to Any
8
  Author URI: http://www.addtoany.com/contact/
9
  */
32
 
33
  $sitename_enc = rawurlencode( get_bloginfo('name') );
34
  $siteurl_enc = rawurlencode( trailingslashit( get_bloginfo('url') ) );
35
+ $linkname = ( in_the_loop() ) ? get_the_title() : wp_title('-', false,'right').get_bloginfo('name');
36
  $linkname_enc = rawurlencode( $linkname );
37
  $linkurl = ( in_the_loop() ) ?
38
  /* Current post (if within loop) or current page */