Hupso Share Buttons for Twitter, Facebook & Google+ - Version 1.4

Version Description

Improved support for SEO urls

Download this release

Release Info

Developer kasal
Plugin Icon 128x128 Hupso Share Buttons for Twitter, Facebook & Google+
Version 1.4
Comparing to
See all releases

Code changes from version 1.3 to 1.4

Files changed (2) hide show
  1. readme.txt +4 -1
  2. share-buttons-hupso.php +3 -2
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: kasal
3
  Tags: twitter, facebook, google+, social, sharing, stumbleupon, addthis, sharethis, sexybookmarks, addtoany, lockerz, shareaholic
4
  Requires at least: 2.8
5
  Tested up to: 3.4
6
- Stable tag: 1.3
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -79,6 +79,9 @@ Yes. Thay are free and will always be free. And you do not need to open an accou
79
 
80
  == Changelog ==
81
 
 
 
 
82
  = 1.3 =
83
  * Added options to show/hide social buttons on frontpage and inside categories
84
 
3
  Tags: twitter, facebook, google+, social, sharing, stumbleupon, addthis, sharethis, sexybookmarks, addtoany, lockerz, shareaholic
4
  Requires at least: 2.8
5
  Tested up to: 3.4
6
+ Stable tag: 1.4
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
79
 
80
  == Changelog ==
81
 
82
+ = 1.4 =
83
+ Improved support for SEO urls
84
+
85
  = 1.3 =
86
  * Added options to show/hide social buttons on frontpage and inside categories
87
 
share-buttons-hupso.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Hupso Share Buttons for Twitter, Facebook & Google+
4
  Plugin URI: http://www.hupso.com/share
5
  Description: Add simple social sharing buttons to your articles. Your visitors will be able to easily share your content on the most popular social networks: Twitter, Facebook, Google Plus, Linkedin, StumbleUpon, Digg, Reddit, Bebo and Delicous. These services are used by millions of people every day, so sharing your content there will increase traffic to your website.
6
- Version: 1.3
7
  Author: kasal
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -275,7 +275,8 @@ function hupso_the_content( $content ) {
275
  return $content;
276
  }
277
 
278
- $post_url = $GLOBALS['post']->guid;
 
279
  $hupso_show_frontpage = get_option( 'hupso_show_frontpage' , '1' );
280
  $hupso_show_category = get_option( 'hupso_show_category' , '1' );
281
 
3
  Plugin Name: Hupso Share Buttons for Twitter, Facebook & Google+
4
  Plugin URI: http://www.hupso.com/share
5
  Description: Add simple social sharing buttons to your articles. Your visitors will be able to easily share your content on the most popular social networks: Twitter, Facebook, Google Plus, Linkedin, StumbleUpon, Digg, Reddit, Bebo and Delicous. These services are used by millions of people every day, so sharing your content there will increase traffic to your website.
6
+ Version: 1.4
7
  Author: kasal
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
275
  return $content;
276
  }
277
 
278
+ $post_url = get_permalink($GLOBALS['post']->ID);
279
+
280
  $hupso_show_frontpage = get_option( 'hupso_show_frontpage' , '1' );
281
  $hupso_show_category = get_option( 'hupso_show_category' , '1' );
282