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

Version Description

  • Compatible with Wordpress 4.7.2
  • Fix for counters not aligned properly with some themes
Download this release

Release Info

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

Code changes from version 4.0.6 to 4.0.7

Files changed (3) hide show
  1. readme.txt +6 -2
  2. share-buttons-hupso.php +5 -5
  3. style.css +34 -3
readme.txt CHANGED
@@ -3,8 +3,8 @@ 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.1
7
- Stable tag: 4.0.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -305,6 +305,10 @@ Please send bug reports and suggestion using [this feedback form](http://www.hup
305
 
306
  == Changelog ==
307
 
 
 
 
 
308
  = 4.0.5 =
309
  * Compatible with Wordpress 4.7.1
310
  * Security fixes
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.0.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
305
 
306
  == Changelog ==
307
 
308
+ = 4.0.7 =
309
+ * Compatible with Wordpress 4.7.2
310
+ * Fix for counters not aligned properly with some themes
311
+
312
  = 4.0.5 =
313
  * Compatible with Wordpress 4.7.1
314
  * Security fixes
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.0.6
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.0.6';
16
 
17
  $hupso_dev = '';
18
  $hupso_state = 'normal';
@@ -947,7 +947,7 @@ function hupso_admin_settings_show() {
947
  /* page_title */
948
  $checked = ' checked="checked" ';
949
  $hupso_page_title = stripslashes(sanitize_text_field(get_option( 'hupso_page_title', '')));
950
- $hupso_page_title = htmlentities($hupso_page_title);
951
  ?>
952
  <input type="text" name="page_title" value="<?php echo esc_attr($hupso_page_title);?>" onchange="hupso_create_code()" onmouseout="hupso_create_code()" size="50" /><br/><?php _e('Enter custom text that will always be used for sharing.', 'hupso'); ?><br/><?php _e('Leave this blank to use title of current page as text for sharing. [Default]', 'hupso'); ?>
953
  </td>
@@ -1841,7 +1841,7 @@ function hupso_the_content( $content ) {
1841
  if ( ($hupso_shortcode_params != '') && ($h_title != '') ) {
1842
  $new_title = $h_title;
1843
  }
1844
-
1845
  switch ( $button_type ) {
1846
  case 'share_button':
1847
  $code .= 'var hupso_title="' . esc_attr(str_replace('"', '&quot;', $new_title)) . '";';
@@ -1852,7 +1852,7 @@ function hupso_the_content( $content ) {
1852
  case 'counters':
1853
  $code .= 'var hupso_title_c="' . esc_attr(str_replace('"', '&quot;', $new_title)) . '";';
1854
  break;
1855
- }
1856
  }
1857
 
1858
  $code .= '</script>';
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.0.7
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.0.7';
16
 
17
  $hupso_dev = '';
18
  $hupso_state = 'normal';
947
  /* page_title */
948
  $checked = ' checked="checked" ';
949
  $hupso_page_title = stripslashes(sanitize_text_field(get_option( 'hupso_page_title', '')));
950
+ $hupso_page_title = htmlentities($hupso_page_title);
951
  ?>
952
  <input type="text" name="page_title" value="<?php echo esc_attr($hupso_page_title);?>" onchange="hupso_create_code()" onmouseout="hupso_create_code()" size="50" /><br/><?php _e('Enter custom text that will always be used for sharing.', 'hupso'); ?><br/><?php _e('Leave this blank to use title of current page as text for sharing. [Default]', 'hupso'); ?>
953
  </td>
1841
  if ( ($hupso_shortcode_params != '') && ($h_title != '') ) {
1842
  $new_title = $h_title;
1843
  }
1844
+
1845
  switch ( $button_type ) {
1846
  case 'share_button':
1847
  $code .= 'var hupso_title="' . esc_attr(str_replace('"', '&quot;', $new_title)) . '";';
1852
  case 'counters':
1853
  $code .= 'var hupso_title_c="' . esc_attr(str_replace('"', '&quot;', $new_title)) . '";';
1854
  break;
1855
+ }
1856
  }
1857
 
1858
  $code .= '</script>';
style.css CHANGED
@@ -1,11 +1,42 @@
1
- .fb_iframe_widget_lift {
2
  max-width: none !important;
3
  }
4
 
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;}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .fb_iframe_widget_lift {
2
  max-width: none !important;
3
  }
4
 
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
+
15
+ .fb_iframe_widget > span {
16
+ vertical-align:top !important;
17
+ }
18
+
19
+ .hupso_google > div {
20
+ display: block !important;
21
+ }
22
+
23
+ .hupso_pinterest > a > img {
24
+ display: block !important;
25
+ }
26
+
27
+ .hupso_email > a > img {
28
+ display: block !important;
29
+ }
30
+
31
+ .hupso_print > a > img {
32
+ display: block !important;
33
+ }
34
+
35
+ .IN-widget > span {
36
+ font-size: inherit !important;
37
+ }
38
+
39
+ .IN-widget {
40
+ vertical-align: top !important;
41
+ }
42
+