diff --git a/wp-includes/class-wp-theme-json-resolver.php b/wp-includes/class-wp-theme-json-resolver.php index ee153eb657..cf14486f67 100644 --- a/wp-includes/class-wp-theme-json-resolver.php +++ b/wp-includes/class-wp-theme-json-resolver.php @@ -408,7 +408,7 @@ class WP_Theme_JSON_Resolver { $stylesheet = $theme->get_stylesheet(); $args = array( 'posts_per_page' => 1, - 'orderby' => 'post_date', + 'orderby' => 'date', 'order' => 'desc', 'post_type' => $post_type_filter, 'post_status' => $post_status_filter, diff --git a/wp-includes/version.php b/wp-includes/version.php index 28bf2a8eb5..a3e0161bd8 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-alpha-54769'; +$wp_version = '6.2-alpha-54770'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.