From e378e069e14de588af6f9db2190cf32abd7971a1 Mon Sep 17 00:00:00 2001 From: davidperezgar Date: Mon, 7 Oct 2024 23:02:25 +0200 Subject: [PATCH 1/3] new changelog and version --- plugin.php | 4 ++-- readme.txt | 25 ++++++++++++++++++++++++- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/plugin.php b/plugin.php index 3ff327f95..8de444180 100644 --- a/plugin.php +++ b/plugin.php @@ -5,7 +5,7 @@ * Description: Plugin Check is a WordPress.org tool which provides checks to help plugins meet the directory requirements and follow various best practices. * Requires at least: 6.3 * Requires PHP: 7.2.24 - * Version: 1.1.0 + * Version: 1.2.0 * Author: WordPress Performance Team and Plugin Review Team * License: GPLv2 or later * License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html @@ -16,7 +16,7 @@ use WordPress\Plugin_Check\Plugin_Main; -define( 'WP_PLUGIN_CHECK_VERSION', '1.1.0' ); +define( 'WP_PLUGIN_CHECK_VERSION', '1.2.0' ); define( 'WP_PLUGIN_CHECK_MINIMUM_PHP', '7.2.24' ); define( 'WP_PLUGIN_CHECK_MAIN_FILE', __FILE__ ); define( 'WP_PLUGIN_CHECK_PLUGIN_DIR_PATH', plugin_dir_path( WP_PLUGIN_CHECK_MAIN_FILE ) ); diff --git a/readme.txt b/readme.txt index c9c242a8e..33d0e77aa 100644 --- a/readme.txt +++ b/readme.txt @@ -2,7 +2,7 @@ Contributors: wordpressdotorg Tested up to: 6.6 -Stable tag: 1.1.0 +Stable tag: 1.2.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Tags: plugin best practices, testing, accessibility, performance, security @@ -68,6 +68,29 @@ In any case, passing the checks in this tool likely helps to achieve a smooth pl == Changelog == += 1.2.0 = + +- The Plugin Check is now part of the automatic checks for plugin submissions on WordPress.org. +* Enhancement - Increased severity for `BacktickOperator`, `DisallowShortOpenTag`, `DisallowAlternativePHPTags`, `RestrictedClasses`, and `RestrictedFunctions`. +* Enhancement - Added security checks to the Plugin repository category. +* Enhancement - Allowed `runtime-set` in code sniffer checks. +* Enhancement - Changed warnings to errors in plugin header checks. +* Enhancement - Detect forbidden plugin headers such as repository URIs in the Directory. +* Enhancement - Added a new check for development functions that are not allowed in final plugins. +* Enhancement - Created new images and icons for the plugin. +* Enhancement - Introduced a slug argument in the CLI. +* Enhancement - Added a check for discouraged PHP functions. +* Enhancement - Added validation for Contributors in the readme file. +* Enhancement - Added a warning for mismatched plugin names in the plugin header and readme file. +* Enhancement - Checked for validation of Plugin Header fields: Name, Plugin URI, Description, Author URI, Requires at least, Requires PHP, and Requires Plugins. +* Enhancement - Added a warning if the "Tested up to" value in the readme file exceeds the released version of WordPress. +* Fix - Display a success message if no errors or warnings are found. +* Fix - Made table results responsive. +* Fix - Prevent proceeding to the next check if the Stable Tag value is set to `trunk`. +* Fix - Allow runtime initialization even when only add-on checks are requested. +* Fix - Fixed an SPDX warning for the `GPL version 3` license. +* Fix - Prevent runtime checks in the CLI context when they cannot be used. + = 1.1.0 = * Feature - New `Non_Blocking_Scripts_Check` (`non_blocking_scripts`) runtime check to warn about enqueued scripts that use neither `defer` nor `async`. From 07160dd3fcd3ede8235ad1951a5f0e1542748370 Mon Sep 17 00:00:00 2001 From: davidperezgar Date: Tue, 8 Oct 2024 08:13:27 +0200 Subject: [PATCH 2/3] removed line --- readme.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/readme.txt b/readme.txt index 33d0e77aa..e7d0f5684 100644 --- a/readme.txt +++ b/readme.txt @@ -70,7 +70,6 @@ In any case, passing the checks in this tool likely helps to achieve a smooth pl = 1.2.0 = -- The Plugin Check is now part of the automatic checks for plugin submissions on WordPress.org. * Enhancement - Increased severity for `BacktickOperator`, `DisallowShortOpenTag`, `DisallowAlternativePHPTags`, `RestrictedClasses`, and `RestrictedFunctions`. * Enhancement - Added security checks to the Plugin repository category. * Enhancement - Allowed `runtime-set` in code sniffer checks. From 77004284c8aab416c71686a86a436e2fbe5a5bb7 Mon Sep 17 00:00:00 2001 From: davidperezgar Date: Wed, 9 Oct 2024 18:58:47 +0200 Subject: [PATCH 3/3] updated badly check --- readme.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/readme.txt b/readme.txt index e7d0f5684..e35096a14 100644 --- a/readme.txt +++ b/readme.txt @@ -70,6 +70,7 @@ In any case, passing the checks in this tool likely helps to achieve a smooth pl = 1.2.0 = +* Enhacement - Added a check for badly used names in files. * Enhancement - Increased severity for `BacktickOperator`, `DisallowShortOpenTag`, `DisallowAlternativePHPTags`, `RestrictedClasses`, and `RestrictedFunctions`. * Enhancement - Added security checks to the Plugin repository category. * Enhancement - Allowed `runtime-set` in code sniffer checks.