Skip to content

Commit

Permalink
Merge pull request #821 from WordPress/chore/1.3.1
Browse files Browse the repository at this point in the history
New version 1.3.1
  • Loading branch information
davidperezgar authored Dec 6, 2024
2 parents 49c9f0e + 1986c32 commit b7b19ce
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
10 changes: 5 additions & 5 deletions includes/Traits/Version_Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand All @@ -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.
*/
Expand All @@ -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.
Expand All @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 ) );
Expand Down
9 changes: 8 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit b7b19ce

Please sign in to comment.