Posts, Post Types: Pass correct variable to the get_lastpostdate filter.

Follow-up to [48634].

See #49572.
Built from https://develop.svn.wordpress.org/trunk@48635


git-svn-id: http://core.svn.wordpress.org/trunk@48397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-07-27 11:38:04 +00:00
parent 710da7e441
commit d0be6f61f9
2 changed files with 2 additions and 2 deletions

View File

@ -6634,7 +6634,7 @@ function get_lastpostdate( $timezone = 'server', $post_type = 'any' ) {
* See get_lastpostdate() for accepted `$timezone` values.
* @param string $post_type The post type to check.
*/
return apply_filters( 'get_lastpostdate', $date, $timezone, $post_type );
return apply_filters( 'get_lastpostdate', $lastpostdate, $timezone, $post_type );
}
/**

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.5-beta3-48634';
$wp_version = '5.5-beta3-48635';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.