From f1636d6a29d4c827f050f6f0c1ee6cc907490544 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Wed, 28 Aug 2024 11:23:55 +0200 Subject: [PATCH 1/3] Prepare v1.1.0 release --- plugin.php | 4 ++-- readme.txt | 13 ++++++++++++- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/plugin.php b/plugin.php index 747d6374f..3ff327f95 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.0.2 + * Version: 1.1.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.0.2' ); +define( 'WP_PLUGIN_CHECK_VERSION', '1.1.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 f99d6d82a..135c45ffe 100644 --- a/readme.txt +++ b/readme.txt @@ -2,7 +2,7 @@ Contributors: wordpressdotorg Tested up to: 6.6 -Stable tag: 1.0.2 +Stable tag: 1.1.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Tags: plugin best practices, testing, accessibility, performance, security @@ -70,6 +70,17 @@ In any case, passing the checks in this tool likely helps to achieve a smooth pl = 1.1.0 = * Enhancement - Changed the namespace of included checks. +* Enhancement - Introduced severity levels for all errors and warnings. +* Enhancement - New runtime check to warn about enqueued scripts that use neither `defer` nor `async`. +* Enhancement - CLI: Support checking a plugin from a path or URL. +* Enhancement - Added short descriptions and URLs for each check. +* Enhancement - Improved messaging in check results. +* Enhancement - Updated code obfuscation check with more accurate results. +* Enhancement - Updated plugin review check to flag missing input sanitization. +* Fix - Improve readme checks to exclude invalid files. +* Fix - Only show edit link if files are actually editable. + +Input data must be Sanitized and Validated = 1.0.2 = From 72fc8bde964aea29350ff865ed565f8b7b5d46fc Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Wed, 28 Aug 2024 11:39:03 +0200 Subject: [PATCH 2/3] Remove draft line --- readme.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/readme.txt b/readme.txt index 135c45ffe..3017dcd8a 100644 --- a/readme.txt +++ b/readme.txt @@ -76,12 +76,10 @@ In any case, passing the checks in this tool likely helps to achieve a smooth pl * Enhancement - Added short descriptions and URLs for each check. * Enhancement - Improved messaging in check results. * Enhancement - Updated code obfuscation check with more accurate results. -* Enhancement - Updated plugin review check to flag missing input sanitization. +* Enhancement - Updated plugin review check to flag missing input sanitization (`WordPress.Security.ValidatedSanitizedInput`). * Fix - Improve readme checks to exclude invalid files. * Fix - Only show edit link if files are actually editable. -Input data must be Sanitized and Validated - = 1.0.2 = * Feature - New `Enqueued_Scripts_Scope_Check` (`enqueued_scripts_scope`), `Enqueued_Styles_Size_Check` (`enqueued_styles_size`) and `Enqueued_Resources_Check` (`enqueued_resources`) performance checks. From 401821478ea933d5061667c7d87e876f7c350f37 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Wed, 28 Aug 2024 13:47:58 +0200 Subject: [PATCH 3/3] Mark as feature Co-authored-by: Mukesh Panchal --- readme.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.txt b/readme.txt index 3017dcd8a..7e729bbb7 100644 --- a/readme.txt +++ b/readme.txt @@ -69,9 +69,9 @@ In any case, passing the checks in this tool likely helps to achieve a smooth pl = 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`. * Enhancement - Changed the namespace of included checks. * Enhancement - Introduced severity levels for all errors and warnings. -* Enhancement - New runtime check to warn about enqueued scripts that use neither `defer` nor `async`. * Enhancement - CLI: Support checking a plugin from a path or URL. * Enhancement - Added short descriptions and URLs for each check. * Enhancement - Improved messaging in check results.