From 167aa1436ce9b97535514042660c8c90199a641d Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Fri, 2 Jun 2023 10:11:39 +0200 Subject: [PATCH] Add `uninstall.php` to delete options when plugin is uninstalled. --- CHANGELOG.md | 6 +++++- required-google-analytics.php | 4 ++-- uninstall.php | 11 +++++++++++ 3 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 uninstall.php diff --git a/CHANGELOG.md b/CHANGELOG.md index 2817a4d..b7d501d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [3.0.1] - 2023-01-30 +## [3.1.0] - 2023-06-02 +### Added +- Add `uninstall.php` to delete options when plugin is uninstalled. + +## [3.0.1] - 2023-30-01 ### Fixed - Prevent SecurityErrors when access to `window.localStorage` is not allowed. diff --git a/required-google-analytics.php b/required-google-analytics.php index 67ff31d..f5bd397 100644 --- a/required-google-analytics.php +++ b/required-google-analytics.php @@ -3,13 +3,13 @@ * Plugin Name: Google Analytics * Plugin URI: https://github.com/wearerequired/required-google-analytics * Description: Adds Google's global site tag (gtag.js) to your site, the modern way. - * Version: 3.0.1 + * Version: 3.1.0 * Author: required * Author URI: https://required.com * License: GPL-2.0+ * License URI: http://www.gnu.org/licenses/gpl-2.0.txt * - * Copyright (c) 2018-2022 required (email: info@required.ch) + * Copyright (c) 2018-2023 required (email: info@required.ch) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, version 2 or, at diff --git a/uninstall.php b/uninstall.php new file mode 100644 index 0000000..7aa5db9 --- /dev/null +++ b/uninstall.php @@ -0,0 +1,11 @@ +