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.