Docs: Fix types for wp_cache_set_last_changed filter.

Corrects the type for the `$time` and `$previous_time` parameters in the filter to indicate the times are expressed as strings. The values are generated from a call to `microtime()` which returns the time as a string in the form `msec sec`.

Props tillkruess, westonruter.
Fixes #63194.



Built from https://develop.svn.wordpress.org/trunk@60128


git-svn-id: http://core.svn.wordpress.org/trunk@59464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Peter Wilson
2025-04-03 20:49:31 +00:00
parent 8b620b65ca
commit f54720e6e5
2 changed files with 4 additions and 4 deletions

View File

@@ -8069,9 +8069,9 @@ function wp_cache_set_last_changed( $group ) {
*
* @since 6.3.0
*
* @param string $group The cache group name.
* @param int $time The new last changed time.
* @param int|false $previous_time The previous last changed time. False if not previously set.
* @param string $group The cache group name.
* @param string $time The new last changed time (msec sec).
* @param string|false $previous_time The previous last changed time. False if not previously set.
*/
do_action( 'wp_cache_set_last_changed', $group, $time, $previous_time );

View File

@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.9-alpha-60127';
$wp_version = '6.9-alpha-60128';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.