diff --git a/plugin.php b/plugin.php index 89cca4dc..44368a4a 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.4 - * Version: 1.3.1 + * Version: 1.4.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.3.1' ); +define( 'WP_PLUGIN_CHECK_VERSION', '1.4.0' ); define( 'WP_PLUGIN_CHECK_MINIMUM_PHP', '7.4' ); 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 1cfc7d85..7c77aaf2 100644 --- a/readme.txt +++ b/readme.txt @@ -2,7 +2,7 @@ Contributors: wordpressdotorg Tested up to: 6.7 -Stable tag: 1.3.1 +Stable tag: 1.4.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,26 @@ In any case, passing the checks in this tool likely helps to achieve a smooth pl == Changelog == += 1.4.0 = + +* Enhancement - Allow ISC license in the License check. +* Enhancement - Added check for use of settings with sanitization callback. +* Enhancement - Added --ignore-codes in CLI to introduce a mechanism to ignore specific error codes. +* Enhancement - New utils for fetching necessary version info details. +* Enhancement - Added check for unsupported plugin name in plugin header field. +* Enhancement - Segregate the severity of i18n checks. Make sure that is giving errors in the right context. +* Enhancement - Provide more detailed information about checks when the README does not include a tested version or a list of contributors. +* Enhancement - Added rules from WPCS to prevent issues with content being sent before headers and warn about the use of Call-time pass-by-reference. +* Enhancement - Give more context in the error of check wrong named files. +* Enhancement - Simplified PHPUnit setup. Now it does not depend of running inside a WordPress installation. +* Enhancement - Added new check for restricted contributors. +* Fix - Delete transients in unit tests to avoid false positives. +* Fix - Incorrect Tested up to version comparison will make error for two major versions up. +* Fix - Excluded the use of functions file_get_contents and file_put_contents in the check to prevent false positives. +* Fix - Duplicated error message in the check for wrong named files. +* Fix - Use of Json encode wasn't firing the error message. +* Fix - Change error type of NonEnqueuedImage in ImageFunctions sniff from ERROR to WARNING. + = 1.3.1 = * Enhancement - Add version utilities.