diff --git a/plugin.php b/plugin.php index 3ff327f9..8de44418 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 c9c242a8..e35096a1 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 = + +* 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. +* 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`.