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

Version Description

Release date: August 3, 2022

Changelog: - Fixed bug that caused a notice in the frontend

If you experience bugs, problems or you just have some feedback, let us know on our Buttonizer community!

Download this release

Release Info

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

Code changes from version 3.1.0 to 3.1.1

Files changed (3) hide show
  1. app/Utils/PermissionCheck.php +2 -4
  2. buttonizer.php +2 -2
  3. readme.txt +9 -1
app/Utils/PermissionCheck.php CHANGED
@@ -66,12 +66,10 @@ class PermissionCheck
66
  return self::$cachedUserPermissions;
67
  }
68
 
69
- $userRoles = get_userdata(get_current_user_id())->roles;
70
-
71
  // If not logged in, add guest role in roles
72
- if (!\is_user_logged_in()) $userRoles[] = "guest";
73
 
74
- self::$cachedUserPermissions = $userRoles;
75
 
76
  return self::$cachedUserPermissions;
77
  }
66
  return self::$cachedUserPermissions;
67
  }
68
 
 
 
69
  // If not logged in, add guest role in roles
70
+ if (!\is_user_logged_in()) return ["guest"];
71
 
72
+ self::$cachedUserPermissions = get_userdata(get_current_user_id())->roles;
73
 
74
  return self::$cachedUserPermissions;
75
  }
buttonizer.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Buttonizer - Smart Floating Action Button
4
  * Plugin URI: https://buttonizer.io
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: 3.1.0
7
  * Author: Buttonizer
8
  * Author URI: https://buttonizer.pro
9
  * License: GPLv3
@@ -24,7 +24,7 @@
24
  */
25
 
26
  // Define current Buttonizer version
27
- define('BUTTONIZER_VERSION', '3.1.0');
28
  define('BUTTONIZER_PLUGIN_FILE', __FILE__);
29
 
30
  // Get environment vars
3
  * Plugin Name: Buttonizer - Smart Floating Action Button
4
  * Plugin URI: https://buttonizer.io
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: 3.1.1
7
  * Author: Buttonizer
8
  * Author URI: https://buttonizer.pro
9
  * License: GPLv3
24
  */
25
 
26
  // Define current Buttonizer version
27
+ define('BUTTONIZER_VERSION', '3.1.1');
28
  define('BUTTONIZER_PLUGIN_FILE', __FILE__);
29
 
30
  // Get environment vars
readme.txt CHANGED
@@ -4,7 +4,7 @@ Buy plugin: https://buttonizer.io
4
  Tags: Conversion, action button, call, marketing, Social Sharing
5
  Requires at least: 4.7
6
  Tested up to: 6.0
7
- Stable tag: 3.1.0
8
  Requires PHP: 7.0
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -193,6 +193,14 @@ Languages can have a different direction of writing and reading? While languages
193
 
194
  == Changelog ==
195
 
 
 
 
 
 
 
 
 
196
  = 3.1.0 =
197
  Release date: August 1, 2022
198
 
4
  Tags: Conversion, action button, call, marketing, Social Sharing
5
  Requires at least: 4.7
6
  Tested up to: 6.0
7
+ Stable tag: 3.1.1
8
  Requires PHP: 7.0
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
193
 
194
  == Changelog ==
195
 
196
+ = 3.1.1 =
197
+ Release date: August 3, 2022
198
+
199
+ **Changelog:**
200
+ - Fixed bug that caused a notice in the frontend
201
+
202
+ If you experience bugs, problems or you just have some feedback, let us know on our [Buttonizer community](https://community.buttonizer.pro/)!
203
+
204
  = 3.1.0 =
205
  Release date: August 1, 2022
206