PluginProbe
Buttonizer – Floating Menus, Sticky Buttons, & Popup Builder / 3.6.0
Buttonizer – Floating Menus, Sticky Buttons, & Popup Builder v3.6.0
3.6.0 3.5.0 trunk 1.0.10 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.6.1 1.0.7 1.0.8 1.0.9 1.1 1.1.1 1.2 1.3 1.4 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.5 1.5.1 All 110 releases
← All changes | buttonizer.php +10 -2 3.5.03.6.0 View file →
@@ -2,9 +2,9 @@
2 2 /*
3 3 * Plugin Name: Buttonizer - Smart Floating & Sticky Buttons
4 4 * Plugin URI: https://buttonizer.io
5 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.5.0
6 +* Version: 3.6.0
7 7 * Author: Buttonizer
8 8 * Author URI: https://buttonizer.io
9 9 * License: GPLv2 or later
10 10 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -23,9 +23,9 @@
23 23 * https://buttonizer.io/license/
24 24 */
25 25
26 26 // Define current Buttonizer version
27 -define('BUTTONIZER_VERSION', '3.5.0');
27 +define('BUTTONIZER_VERSION', '3.6.0');
28 28 define('BUTTONIZER_PLUGIN_FILE', __FILE__);
29 29
30 30 // Get environment vars
31 31 require_once __DIR__ . "/EnvVars.php";
@@ -104,8 +104,16 @@
104 104 register_uninstall_hook(__FILE__, 'pluginUninstallEvent');
105 105
106 106 function pluginUninstallEvent()
107 107 {
108 + // The migration bookkeeping is this plugin's own, and nothing should
109 + // outlive the plugin that wrote it: a leftover entry makes a later install
110 + // believe this site was already handed over. The old system's options are
111 + // left where they are — those are the user's buttons, not bookkeeping.
112 + if (class_exists('\\Buttonizer\\Migration\\MigrationState')) {
113 + delete_option(\Buttonizer\Migration\MigrationState::OPTION);
114 + }
115 +
108 116 // Skip if the is no API token being used
109 117 if (\Buttonizer\Core\Utils\ApiRequest::getApiToken() === false) {
110 118 return;
111 119 }