diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index c306268..df042ea 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -29,16 +29,13 @@ jobs: strategy: fail-fast: false matrix: - php: ['7.2', '7.3', '7.4'] + php: ['7.4'] wordpress: ['trunk'] experimental: [false] include: - php: '7.4' wordpress: 'latest' experimental: false - - php: '5.6' - wordpress: '4.7' - experimental: false - php: '8.0' wordpress: 'latest' experimental: true diff --git a/.github/workflows/wordpress-org-deploy.yml b/.github/workflows/wordpress-org-deploy.yml index cefc911..5833a3b 100644 --- a/.github/workflows/wordpress-org-deploy.yml +++ b/.github/workflows/wordpress-org-deploy.yml @@ -16,9 +16,9 @@ jobs: - name: Set up PHP uses: shivammathur/setup-php@v2 with: - php-version: '7.3' - coverage: none - tools: composer + php-version: "7.4" + coverage: none + tools: composer - name: Install dependencies run: | diff --git a/CHANGELOG.md b/CHANGELOG.md index dc2cc88..1654722 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ 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.0] - 2022-03-17 +* Fixed: Replace use of jQuery to avoid deprecation warnings. +* Changed: Requires at least PHP 7.4 and WordPress 6.0. + ### [2.1.0] - 2022-03-17 * Enhancement: Hide disabled sidebar widgets when widget block editor is enabled. @@ -83,7 +87,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * Initial release of the working plugin. * German (de_DE) translations added. -[Unreleased]: https://github.com/wearerequired/WP-Widget-Disable/compare/2.0.0...master +[Unreleased]: https://github.com/wearerequired/WP-Widget-Disable/compare/3.0.0...master +[3.0.0]: https://github.com/wearerequired/WP-Widget-Disable/compare/2.1.0...3.0.0 [2.1.0]: https://github.com/wearerequired/WP-Widget-Disable/compare/2.0.0...2.1.0 [2.0.0]: https://github.com/wearerequired/WP-Widget-Disable/compare/1.9.0...2.0.0 [1.9.1]: https://github.com/wearerequired/WP-Widget-Disable/compare/1.9.0...1.9.1 diff --git a/readme.txt b/readme.txt index 25cbfc8..0668e1d 100644 --- a/readme.txt +++ b/readme.txt @@ -1,9 +1,9 @@ # Widget Disable # Contributors: wearerequired, neverything, swissspidy, ocean90, grapplerulrich Tags: widgets, admin, dashboard, sidebar widgets, dashboard widgets, disable widgets -Requires at least: 4.7 -Tested up to: 6.0 -Requires PHP: 5.6 +Requires at least: 6.0 +Tested up to: 6.2 +Requires PHP: 7.4 Stable tag: 2.1.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -35,10 +35,6 @@ Developed by [required](https://required.com/ "Team of experienced web professio 2. Activate WP Widget Disable through the Plugins menu in WordPress. 3. Go to Appearance -> Disable Widgets to manage sidebar and dashboard widgets. -## Frequently Asked Questions - -None so far. But you can ask us any time on [twitter](https://twitter.com/wearerequired)! - ## Screenshots 1. Disable the sidebar widgets you don’t need. @@ -48,6 +44,11 @@ None so far. But you can ask us any time on [twitter](https://twitter.com/wearer ## Changelog +### 3.0.0 - 2023-03-26 + +* Fixed: Replace use of jQuery to avoid deprecation warnings. +* Changed: Requires at least PHP 7.4 and WordPress 6.0. + ### 2.1.0 - 2022-03-17 * Enhancement: Hide disabled sidebar widgets when widget block editor is enabled. diff --git a/wp-widget-disable.php b/wp-widget-disable.php index 99f6d81..d6c6444 100644 --- a/wp-widget-disable.php +++ b/wp-widget-disable.php @@ -1,15 +1,17 @@ Appearance -> Disable Widgets and select the widgets you'd like to hide. - * Version: 2.1.0 - * Author: required - * Author URI: https://required.com - * License: GPLv2+ - * Text Domain: wp-widget-disable + * Plugin Name: Widget Disable + * Plugin URI: https://required.com/services/wordpress-plugins/wp-widget-disable/ + * Description: Disable sidebar and dashboard widgets with an easy to use interface. Simply use the checkboxes provided under Appearance -> Disable Widgets and select the widgets you'd like to hide. + * Version: 2.1.0 + * Requires at least: 6.0 + * Requires PHP: 7.4 + * Author: required + * Author URI: https://required.com + * License: GPLv2+ + * Text Domain: wp-widget-disable * - * Copyright (c) 2015-2022 required (email: support@required.ch) + * Copyright (c) 2015-2023 required (email: support@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 @@ -36,8 +38,8 @@ $requirements_check = new WP_Requirements_Check( array( 'title' => 'WP Widget Disable', - 'php' => '5.6', - 'wp' => '4.7', + 'php' => '7.4', + 'wp' => '6.0', 'file' => __FILE__, ) );