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

Version Description

  • Improved support to keep old Facebook likes
  • Improved compatibility with some themes
  • Compatible with Wordpress 4.7.3
Download this release

Release Info

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

Code changes from version 4.1.0 to 4.1.1

Files changed (3) hide show
  1. readme.txt +8 -3
  2. share-buttons-hupso.php +5 -6
  3. style.css +2 -0
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Hupso Share Buttons for Twitter, Facebook & Google+ ===
2
  Contributors: kasal
3
  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, multisite, pinterest, print, tumblr, bebo, social media, social buttons, social share, email, print button, social plugin, social widget, email button, post, plus 1, vkontakte, vk.com, reddit, delicous, del.icio.us, linkedin, tumblr, pinterest, stumbleupon, digg, stumble upon, pinterest button, +1, google +1, tweet, like, share, sharing, shortcode
5
  Requires at least: 2.9
6
- Tested up to: 4.7.2
7
- Stable tag: 4.1.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -306,6 +306,11 @@ Please send bug reports and suggestion using [this feedback form](http://www.hup
306
 
307
  == Changelog ==
308
 
 
 
 
 
 
309
  = 4.1.0 =
310
  * Option to keep Facebook likes when switching from http to https protocol
311
 
1
  === Hupso Share Buttons for Twitter, Facebook & Google+ ===
2
  Contributors: kasal
3
  Donate link: http://www.hupso.com/
4
+ Tags: twitter, facebook, google, social sharing, share buttons, social share buttons, share icons, stumbleupon, addthis, sharethis, addtoany, sexybookmarks, pinterest, print, tumblr, bebo, social media, social buttons, social share, email, print button, social plugin, social widget, email button, post, vkontakte, vk.com, reddit, delicous, del.icio.us, linkedin, tumblr, pinterest, stumbleupon, digg, stumble upon, pinterest button, tweet, like, share, sharing, shortcode, button, page
5
  Requires at least: 2.9
6
+ Tested up to: 4.7.3
7
+ Stable tag: 4.1.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
306
 
307
  == Changelog ==
308
 
309
+ = 4.1.1 =
310
+ * Improved support to keep old Facebook likes
311
+ * Improved compatibility with some themes
312
+ * Compatible with Wordpress 4.7.3
313
+
314
  = 4.1.0 =
315
  * Option to keep Facebook likes when switching from http to https protocol
316
 
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 share 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, Tumblr, Pinterest, StumbleUpon, Digg, Reddit, Bebo, VKontakte 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: 4.1.0
7
  Author: kasal
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -12,7 +12,7 @@ Domain Path: /languages
12
  */
13
 
14
  global $HUPSO_VERSION;
15
- $HUPSO_VERSION = '4.1.0';
16
 
17
  $hupso_dev = '';
18
  $hupso_state = 'normal';
@@ -268,13 +268,12 @@ function hupso_set_facebook_thumbnail() {
268
 
269
  $keep_likes = get_option( 'hupso_keep_likes' , '0' );
270
  if ( $keep_likes == '1' ) {
271
- if ( isset($_SERVER['HTTPS']) ) {
272
- $url = 'http://' . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"];
273
- echo '<meta property="og:url" content="' . esc_url($url) . '"/>' . "\n";
274
- }
275
  }
276
  }
277
 
 
278
  function hupso_get_the_excerpt($content) {
279
  $content = str_ireplace('[hupso_hide]', '', $content);
280
  $content = str_ireplace('[hupso]', '', $content);
3
  Plugin Name: Hupso Share Buttons for Twitter, Facebook & Google+
4
  Plugin URI: http://www.hupso.com/share/
5
  Description: Add simple social share 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, Tumblr, Pinterest, StumbleUpon, Digg, Reddit, Bebo, VKontakte 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: 4.1.1
7
  Author: kasal
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
 
14
  global $HUPSO_VERSION;
15
+ $HUPSO_VERSION = '4.1.1';
16
 
17
  $hupso_dev = '';
18
  $hupso_state = 'normal';
268
 
269
  $keep_likes = get_option( 'hupso_keep_likes' , '0' );
270
  if ( $keep_likes == '1' ) {
271
+ $url = 'http://' . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"];
272
+ echo '<meta property="og:url" content="' . esc_url($url) . '"/>' . "\n";
 
 
273
  }
274
  }
275
 
276
+
277
  function hupso_get_the_excerpt($content) {
278
  $content = str_ireplace('[hupso_hide]', '', $content);
279
  $content = str_ireplace('[hupso]', '', $content);
style.css CHANGED
@@ -5,10 +5,12 @@
5
  .hupso_c > div > a > img {
6
  box-sizing: content-box;
7
  vertical-align: baseline;
 
8
  }
9
 
10
  .hupso_c > div > a {
11
  border-bottom: none;
 
12
  }
13
 
14
 
5
  .hupso_c > div > a > img {
6
  box-sizing: content-box;
7
  vertical-align: baseline;
8
+ box-shadow: none;
9
  }
10
 
11
  .hupso_c > div > a {
12
  border-bottom: none;
13
+ box-shadow: none;
14
  }
15
 
16