Commit fdef24e8 authored by Sergey Biryukov's avatar Sergey Biryukov
Browse files

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: https://core.svn.wordpress.org/trunk@48397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent aac935b4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 );
}

/**
+1 −1
Original line number Diff line number Diff line
@@ -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.