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

Version Description

  • Bugfix for shortcodes
Download this release

Release Info

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

Code changes from version 3.9.9 to 3.9.10

Files changed (2) hide show
  1. readme.txt +4 -1
  2. share-buttons-hupso.php +3 -2
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.hupso.com/
4
  Tags: twitter, facebook, google, social sharing, share buttons, social share buttons, share icons, stumbleupon, addthis, sharethis, sexybookmarks, addtoany
5
  Requires at least: 2.8
6
  Tested up to: 3.5.1
7
- Stable tag: 3.9.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -257,6 +257,9 @@ Please send bug reports and suggestion using [this feedback form](http://www.hup
257
 
258
  == Changelog ==
259
 
 
 
 
260
  = 3.9.9 =
261
  * Option to show or hide share buttons in excerpts
262
 
4
  Tags: twitter, facebook, google, social sharing, share buttons, social share buttons, share icons, stumbleupon, addthis, sharethis, sexybookmarks, addtoany
5
  Requires at least: 2.8
6
  Tested up to: 3.5.1
7
+ Stable tag: 3.9.10
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
257
 
258
  == Changelog ==
259
 
260
+ = 3.9.10 =
261
+ * Bugfix for shortcodes
262
+
263
  = 3.9.9 =
264
  * Option to show or hide share buttons in excerpts
265
 
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: 3.9.9
7
  Author: kasal
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -1177,7 +1177,8 @@ function hupso_the_excerpt( $content ) {
1177
  }
1178
 
1179
  function hupso_remove_shortcodes( $content ) {
1180
- $content = preg_replace('/\[hupso(.)*\]/i', '', $content);
 
1181
  return $content;
1182
  }
1183
 
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: 3.9.10
7
  Author: kasal
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
1177
  }
1178
 
1179
  function hupso_remove_shortcodes( $content ) {
1180
+ $content = str_ireplace('[hupso_hide]', '', $content);
1181
+ $content = str_ireplace('[hupso]', '', $content);
1182
  return $content;
1183
  }
1184