From d0be6f61f9bf5b2f0f0608eba16aaf1434a73cae Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 27 Jul 2020 11:38:04 +0000 Subject: [PATCH] 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 --- wp-includes/post.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index 6f1827ebf2..9a1aaeeb64 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -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 ); } /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 79da40ad1a..9e55be7a58 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.