diff --git a/README.md b/README.md index 33959ae..f7e2961 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,9 @@ ## Changelog +### 1.8.9 +[Fixed] Uninstall checked on wrong plugin slug + ### 1.8.7 [Fixed] Undefined Global Header diff --git a/README.txt b/README.txt index 5dadcd6..d23a537 100644 --- a/README.txt +++ b/README.txt @@ -5,7 +5,7 @@ Tags: templates, archives, design Requires at least: 4.9.0 Requires PHP: 7.0.0 Tested up to: 4.9.99 -Stable tag: 1.8.7 +Stable tag: 1.8.9 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -15,6 +15,9 @@ TukuToi Template Builder allows you to create any kind of Template for your Word == Changelog == += 1.8.9 = +[Fixed] Uninstall checked on wrong plugin slug + = 1.8.7 = [Fixed] Undefined Global Header diff --git a/tkt-template-builder.php b/tkt-template-builder.php index fbbb8f8..805558d 100644 --- a/tkt-template-builder.php +++ b/tkt-template-builder.php @@ -15,7 +15,7 @@ * Plugin Name: TukuToi Template Builder * Plugin URI: https://www.tukutoi.com/ * Description: TukuToi Template Builder allows you to create any kind of Template for your WordPress or ClassicPress website, directly from within the Admin area, without editing PHP Files. - * Version: 1.8.7 + * Version: 1.8.9 * Author: bedas * Requires at least: 1.0.0 * Tested up to: 4.9.99 @@ -37,7 +37,7 @@ * Start at version 0.0.1 and use SemVer - https://semver.org * Rename this for your plugin and update it as you release new versions. */ -define( 'TKT_TEMPLATE_BUILDER_VERSION', '1.8.7' ); +define( 'TKT_TEMPLATE_BUILDER_VERSION', '1.8.9' ); /** * The code that runs during plugin activation. diff --git a/uninstall.php b/uninstall.php index e39f8dc..1113d92 100644 --- a/uninstall.php +++ b/uninstall.php @@ -40,7 +40,7 @@ function plugin_name_uninstall() { || empty( $_REQUEST ) || ! isset( $_REQUEST['plugin'] ) || ! isset( $_REQUEST['action'] ) - || 'tkt-template-builder/tkt-template-builder.php' !== $_REQUEST['plugin'] + || 'tukutoi-template-builder/tkt-template-builder.php' !== $_REQUEST['plugin'] || 'delete-plugin' !== $_REQUEST['action'] || ! check_ajax_referer( 'updates', '_ajax_nonce' ) || ! current_user_can( 'activate_plugins' )