Skip to content

Commit

Permalink
updated version to actual
Browse files Browse the repository at this point in the history
  • Loading branch information
davidperezgar committed Dec 6, 2024
1 parent 11f4d03 commit 1986c32
Showing 1 changed file with 5 additions and 5 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

0 comments on commit 1986c32

Please sign in to comment.