diff --git a/includes/Traits/Version_Utils.php b/includes/Traits/Version_Utils.php index 5617b54bc..7594f5d5c 100644 --- a/includes/Traits/Version_Utils.php +++ b/includes/Traits/Version_Utils.php @@ -10,14 +10,14 @@ /** * Trait for version utilities. * - * @since 1.4.0 + * @since 1.3.1 */ trait Version_Utils { /** * Returns current major WordPress version. * - * @since 1.4.0 + * @since 1.3.1 * * @return string Stable WordPress version. */ @@ -37,7 +37,7 @@ protected function get_wordpress_stable_version(): string { /** * Returns WordPress latest version. * - * @since 1.4.0 + * @since 1.3.1 * * @return string WordPress latest version. */ @@ -50,7 +50,7 @@ protected function get_wordpress_latest_version(): string { /** * Returns relative WordPress major version. * - * @since 1.4.0 + * @since 1.3.1 * * @param string $version WordPress major version. * @param int $steps Steps to find relative version. Defaults to 1 for next major version. @@ -69,7 +69,7 @@ protected function get_wordpress_relative_major_version( string $version, int $s /** * Returns specific information. * - * @since 1.4.0 + * @since 1.3.1 * * @param string $key The information key to retrieve. * @return mixed The requested information. diff --git a/plugin.php b/plugin.php index 7b3f6b0a3..89cca4dc5 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.0 + * Version: 1.3.1 * 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.0' ); +define( 'WP_PLUGIN_CHECK_VERSION', '1.3.1' ); 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 e83f78c8d..1cfc7d85a 100644 --- a/readme.txt +++ b/readme.txt @@ -2,7 +2,7 @@ Contributors: wordpressdotorg Tested up to: 6.7 -Stable tag: 1.3.0 +Stable tag: 1.3.1 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,13 @@ In any case, passing the checks in this tool likely helps to achieve a smooth pl == Changelog == += 1.3.1 = + +* Enhancement - Add version utilities. +* Fix - Escape error messages. +* Fix - Renamed error type to ERROR_LOW_SEVERITY and WARNING_LOW_SEVERITY. +* Fix - Fix PHPCS checks on unwritable filesystems. + = 1.3.0 = * Enhancement - Update disallowed domains for Plugin URI check.