Skip to content

Commit

Permalink
Drop support for older PHP and WP versions, prepare for 3.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
ocean90 committed Mar 26, 2023
1 parent 375a615 commit bb9e841
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 26 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/wordpress-org-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
15 changes: 8 additions & 7 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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.
Expand All @@ -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.
Expand Down
24 changes: 13 additions & 11 deletions wp-widget-disable.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
<?php
/**
* 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 <strong>Appearance -> Disable Widgets</strong> 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 <strong>Appearance -> Disable Widgets</strong> 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: [email protected])
* Copyright (c) 2015-2023 required (email: [email protected])
*
* 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
Expand All @@ -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__,
)
);
Expand Down

0 comments on commit bb9e841

Please sign in to comment.