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`. Reviewed by audrasjb. Merges [60128] to the 6.8 branch. Props tillkruess, westonruter. Fixes #63194. Built from https://develop.svn.wordpress.org/branches/6.8@60133 git-svn-id: http://core.svn.wordpress.org/branches/6.8@59469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -8070,9 +8070,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 );
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.8-RC2-60126';
|
||||
$wp_version = '6.8-RC2-60133';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
||||
Reference in New Issue
Block a user