Simple Social Media Share Buttons – Social Sharing for Everyone - Version 1.7.8

Version Description

  • Fixed PHP warning
Download this release

Release Info

Developer xradar
Plugin Icon 128x128 Simple Social Media Share Buttons – Social Sharing for Everyone
Version 1.7.8
Comparing to
See all releases

Code changes from version 1.7.7 to 1.7.8

Files changed (2) hide show
  1. readme.txt +4 -1
  2. simple-social-buttons.php +3 -3
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=UD823
4
  Tags: facebook, google, twitter, pinterest, plus one, like it, like, share, pin, pin it
5
  Requires at least: 2.8
6
  Tested up to: 3.8
7
- Stable tag: 1.7.7
8
 
9
  Insert and customize social buttons: Facebook Like it, Google plus +1, Twitter share, Pinterest Pin it. Share your content with friends.
10
 
@@ -198,3 +198,6 @@ Make sure you have set WPLANG in wp-config.php file. Correct values are "en_US"
198
 
199
  = 1.7.7 =
200
  * Added swedish translation
 
 
 
4
  Tags: facebook, google, twitter, pinterest, plus one, like it, like, share, pin, pin it
5
  Requires at least: 2.8
6
  Tested up to: 3.8
7
+ Stable tag: 1.7.8
8
 
9
  Insert and customize social buttons: Facebook Like it, Google plus +1, Twitter share, Pinterest Pin it. Share your content with friends.
10
 
198
 
199
  = 1.7.7 =
200
  * Added swedish translation
201
+
202
+ = 1.7.8 =
203
+ * Fixed PHP warning
simple-social-buttons.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin URI: http://www.rabinek.pl/simple-social-buttons-wordpress/
5
  Description: Insert social buttons into posts and archives: Facebook "Like it", Google Plus One "+1", Twitter share and Pinterest.
6
  Author: Paweł Rabinek
7
- Version: 1.7.7
8
  Author URI: http://www.rabinek.pl/
9
  */
10
 
@@ -278,12 +278,12 @@ window.___gcfg = {lang: '<?php echo $lang_g; ?>'};
278
  $return = false;
279
 
280
  // display on single post?
281
- if(is_single() && ($this->settings['beforepost'] || $this->settings['afterpost']) && array_shift(get_post_meta(get_the_ID(), $this->hideCustomMetaKey)) != 'true') {
282
  $return = true;
283
  }
284
 
285
  // display on single page?
286
- if(is_page() && ($this->settings['beforepage'] || $this->settings['afterpage']) && array_shift(get_post_meta(get_the_ID(), $this->hideCustomMetaKey)) != 'true') {
287
  $return = true;
288
  }
289
 
4
  Plugin URI: http://www.rabinek.pl/simple-social-buttons-wordpress/
5
  Description: Insert social buttons into posts and archives: Facebook "Like it", Google Plus One "+1", Twitter share and Pinterest.
6
  Author: Paweł Rabinek
7
+ Version: 1.7.8
8
  Author URI: http://www.rabinek.pl/
9
  */
10
 
278
  $return = false;
279
 
280
  // display on single post?
281
+ if(is_single() && ($this->settings['beforepost'] || $this->settings['afterpost']) && @array_shift(get_post_meta(get_the_ID(), $this->hideCustomMetaKey)) != 'true') {
282
  $return = true;
283
  }
284
 
285
  // display on single page?
286
+ if(is_page() && ($this->settings['beforepage'] || $this->settings['afterpage']) && @array_shift(get_post_meta(get_the_ID(), $this->hideCustomMetaKey)) != 'true') {
287
  $return = true;
288
  }
289