Smart Floating / Sticky Buttons – Call, Sharing, Chat Widgets & More – Buttonizer - Version 1.5.4

Version Description

Release date: 26 September 2018

Fixing multiple PHP notices/warnings.

Download this release

Release Info

Developer buttonizer
Plugin Icon wp plugin Smart Floating / Sticky Buttons – Call, Sharing, Chat Widgets & More – Buttonizer
Version 1.5.4
Comparing to
See all releases

Code changes from version 1.5.3 to 1.5.4

Files changed (4) hide show
  1. buttonizer.php +3 -3
  2. classes/Admin/Admin.php +1 -1
  3. classes/Button.php +1 -1
  4. readme.txt +6 -1
buttonizer.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Buttonizer - Smart Floating Action Button
4
  Plugin URI: https://buttonizer.pro
5
  Description: The Buttonizer is a new way to give a boost to your number of interactions, actions and conversions from your website visitor by adding one or multiple Customizable Smart Floating Button in the corner of your website.
6
- Version: 1.5.3
7
  Author: Buttonizer
8
  Author URI: https://buttonizer.pro
9
  License: GPL2
@@ -34,7 +34,7 @@ define('BUTTONIZER_NAME', 'buttonizer');
34
  define('BUTTONIZER_DIR', dirname(__FILE__));
35
  define('BUTTONIZER_SLUG', basename(BUTTONIZER_DIR));
36
  define('BUTTONIZER_PLUGIN_DIR', __FILE__ );
37
- define('BUTTONIZER_VERSION','1.5.3');
38
 
39
  # No script kiddies
40
  defined( 'ABSPATH' ) or die('No script kiddies please!');
@@ -98,7 +98,7 @@ if(!function_exists("ButtonizerLicense")) {
98
  /*
99
  * Installation, removing and initiallization
100
  */
101
- $oButtonizerMaintain = new Buttonizer\Utils\Maintain(true, 'init');
102
 
103
  /*
104
  * Buttonizer Admin stuff or button
3
  Plugin Name: Buttonizer - Smart Floating Action Button
4
  Plugin URI: https://buttonizer.pro
5
  Description: The Buttonizer is a new way to give a boost to your number of interactions, actions and conversions from your website visitor by adding one or multiple Customizable Smart Floating Button in the corner of your website.
6
+ Version: 1.5.4
7
  Author: Buttonizer
8
  Author URI: https://buttonizer.pro
9
  License: GPL2
34
  define('BUTTONIZER_DIR', dirname(__FILE__));
35
  define('BUTTONIZER_SLUG', basename(BUTTONIZER_DIR));
36
  define('BUTTONIZER_PLUGIN_DIR', __FILE__ );
37
+ define('BUTTONIZER_VERSION','1.5.4');
38
 
39
  # No script kiddies
40
  defined( 'ABSPATH' ) or die('No script kiddies please!');
98
  /*
99
  * Installation, removing and initiallization
100
  */
101
+ $oButtonizerMaintain = new Buttonizer\Utils\Maintain(true);
102
 
103
  /*
104
  * Buttonizer Admin stuff or button
classes/Admin/Admin.php CHANGED
@@ -118,7 +118,7 @@ class Admin {
118
  * Get media and add scripts/styles that Buttonizer uses
119
  */
120
  public function getPluginScripts() {
121
- if($_GET["page"] !== "Buttonizer") return;
122
 
123
  wp_enqueue_media();
124
  wp_enqueue_style(array('wp-color-picker'));
118
  * Get media and add scripts/styles that Buttonizer uses
119
  */
120
  public function getPluginScripts() {
121
+ if(!isset($_GET["page"]) || $_GET["page"] !== "Buttonizer") return;
122
 
123
  wp_enqueue_media();
124
  wp_enqueue_style(array('wp-color-picker'));
classes/Button.php CHANGED
@@ -73,7 +73,6 @@ class Button
73
  private function setup()
74
  {
75
  // Timezone
76
- // date_default_timezone_set(get_option('timezone_string') != '' ? get_option('timezone_string') : "Europe/Amsterdam");
77
  $this->timezone = new \DateTimeZone( ( get_option( 'timezone_string' ) != '' ? get_option( 'timezone_string' ) : "Europe/Amsterdam" ) );
78
  // Get options
79
  $this->aButtons = (array) get_option( 'buttonizer_buttons' );
@@ -538,6 +537,7 @@ class Button
538
  }
539
 
540
  // Label hovering
 
541
 
542
  if ( !isset( $this->aSettings['buttons_label_show_on_hover'] ) || $this->aSettings['buttons_label_show_on_hover'] == 'default' ) {
543
  $labelStyle = 'buttonizer_label_default';
73
  private function setup()
74
  {
75
  // Timezone
 
76
  $this->timezone = new \DateTimeZone( ( get_option( 'timezone_string' ) != '' ? get_option( 'timezone_string' ) : "Europe/Amsterdam" ) );
77
  // Get options
78
  $this->aButtons = (array) get_option( 'buttonizer_buttons' );
537
  }
538
 
539
  // Label hovering
540
+ $labelStyle = '';
541
 
542
  if ( !isset( $this->aSettings['buttons_label_show_on_hover'] ) || $this->aSettings['buttons_label_show_on_hover'] == 'default' ) {
543
  $labelStyle = 'buttonizer_label_default';
readme.txt CHANGED
@@ -4,7 +4,7 @@ Buy plugin: https://buttonizer.pro
4
  Tags: Conversion, action button, call, marketing, Social Sharing
5
  Requires at least: 4.2
6
  Tested up to: 4.9.4
7
- Stable tag: 1.5.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -121,6 +121,11 @@ And the beauty of all: All actions are hidden in one button. The moment a visito
121
  In fact the Buttonizer is an addiction to use. You're website visitors will interact as never before.
122
 
123
  == Changelog ==
 
 
 
 
 
124
  = 1.5.3 =
125
  Release date: 17 September 2018
126
 
4
  Tags: Conversion, action button, call, marketing, Social Sharing
5
  Requires at least: 4.2
6
  Tested up to: 4.9.4
7
+ Stable tag: 1.5.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
121
  In fact the Buttonizer is an addiction to use. You're website visitors will interact as never before.
122
 
123
  == Changelog ==
124
+ = 1.5.4 =
125
+ Release date: 26 September 2018
126
+
127
+ Fixing multiple PHP notices/warnings.
128
+
129
  = 1.5.3 =
130
  Release date: 17 September 2018
131