Simple Share Buttons Adder - Version 8.1.2

Version Description

  • Fix: remove page title error.
Download this release

Release Info

Developer DavidoffNeal
Plugin Icon 128x128 Simple Share Buttons Adder
Version 8.1.2
Comparing to
See all releases

Code changes from version 8.1.1 to 8.1.2

instance.php CHANGED
@@ -9,7 +9,7 @@ namespace SimpleShareButtonsAdder;
9
 
10
  define( 'SSBA_FILE', __FILE__ );
11
  define( 'SSBA_ROOT', dirname( __FILE__ ) );
12
- define( 'SSBA_VERSION', '8.1.1' );
13
 
14
  global $simple_share_buttons_adder_plugin;
15
 
9
 
10
  define( 'SSBA_FILE', __FILE__ );
11
  define( 'SSBA_ROOT', dirname( __FILE__ ) );
12
+ define( 'SSBA_VERSION', '8.1.2' );
13
 
14
  global $simple_share_buttons_adder_plugin;
15
 
php/class-buttons.php CHANGED
@@ -289,7 +289,7 @@ class Buttons
289
 
290
  // Get sbba settings.
291
  $arr_settings = $this->class_ssba->get_ssba_settings();
292
- $page_title = $post->post_title;
293
  $omit_pages = ! empty($arr_settings['ssba_omit_pages_bar']) ? explode(',',
294
  $arr_settings['ssba_omit_pages_bar']) : '';
295
  $omitted = is_array($omit_pages) ? in_array($page_title, array_map('trim', $omit_pages), true) : false;
289
 
290
  // Get sbba settings.
291
  $arr_settings = $this->class_ssba->get_ssba_settings();
292
+ $page_title = isset($post->post_title) ? $post->post_title : '';
293
  $omit_pages = ! empty($arr_settings['ssba_omit_pages_bar']) ? explode(',',
294
  $arr_settings['ssba_omit_pages_bar']) : '';
295
  $omitted = is_array($omit_pages) ? in_array($page_title, array_map('trim', $omit_pages), true) : false;
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: sharethis, scottstorebloom, surlyrightclick, DavidoffNeal
3
  Tags: share buttons, social buttons, facebook, twitter, google+, share, share links, stumble upon, linkedin, pinterest, yummly, vk, flattr
4
  Requires at least: 4.5
5
- Tested up to: 5.5.3
6
- Stable tag: 8.1.1
7
  License: GPLv2 or later
8
 
9
  A simple plugin that enables you to add share buttons to all of your posts and/or pages.
@@ -66,6 +66,9 @@ Please visit the <a href="https://wordpress.org/support/plugin/simple-share-butt
66
 
67
  == Changelog ==
68
 
 
 
 
69
  = 8.1.1 =
70
  * Remove: Remove new ?? from file. Revert to old PHP way.
71
 
@@ -75,7 +78,7 @@ Please visit the <a href="https://wordpress.org/support/plugin/simple-share-butt
75
  * Add: vendor restrictions to GDPR
76
 
77
  = 8.0.1 =
78
- * Add: true tag to registeration.
79
  * test newest version on 5.5.1
80
 
81
  = 8.0.0 =
2
  Contributors: sharethis, scottstorebloom, surlyrightclick, DavidoffNeal
3
  Tags: share buttons, social buttons, facebook, twitter, google+, share, share links, stumble upon, linkedin, pinterest, yummly, vk, flattr
4
  Requires at least: 4.5
5
+ Tested up to: 5.6
6
+ Stable tag: 8.1.2
7
  License: GPLv2 or later
8
 
9
  A simple plugin that enables you to add share buttons to all of your posts and/or pages.
66
 
67
  == Changelog ==
68
 
69
+ = 8.1.2 =
70
+ * Fix: remove page title error.
71
+
72
  = 8.1.1 =
73
  * Remove: Remove new ?? from file. Revert to old PHP way.
74
 
78
  * Add: vendor restrictions to GDPR
79
 
80
  = 8.0.1 =
81
+ * Add: true tag to registration.
82
  * test newest version on 5.5.1
83
 
84
  = 8.0.0 =
simple-share-buttons-adder.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Simple Share Buttons Adder
4
  * Plugin URI: https://simplesharebuttons.com
5
  * Description: A simple plugin that enables you to add share buttons to all of your posts and/or pages.
6
- * Version: 8.1.1
7
  * Author: Simple Share Buttons
8
  * Author URI: https://simplesharebuttons.com
9
  * License: GPLv2
3
  * Plugin Name: Simple Share Buttons Adder
4
  * Plugin URI: https://simplesharebuttons.com
5
  * Description: A simple plugin that enables you to add share buttons to all of your posts and/or pages.
6
+ * Version: 8.1.2
7
  * Author: Simple Share Buttons
8
  * Author URI: https://simplesharebuttons.com
9
  * License: GPLv2