mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-08 17:38:26 +01:00
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:
parent
710da7e441
commit
d0be6f61f9
@ -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 );
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user