diff --git a/wp-admin/includes/class-wp-posts-list-table.php b/wp-admin/includes/class-wp-posts-list-table.php index 4e7dad18c7..a3fcf9ba01 100644 --- a/wp-admin/includes/class-wp-posts-list-table.php +++ b/wp-admin/includes/class-wp-posts-list-table.php @@ -790,6 +790,7 @@ class WP_Posts_List_Table extends WP_List_Table { if ( post_type_supports( $post_type, 'comments' ) ) { $this->comment_pending_count = get_pending_comments_num( $post_ids ); } + update_post_author_caches( $posts ); foreach ( $posts as $post ) { $this->single_row( $post, $level ); @@ -885,6 +886,8 @@ class WP_Posts_List_Table extends WP_List_Table { $ids = array_keys( $to_display ); _prime_post_caches( $ids ); + $_posts = array_map( 'get_post', $ids ); + update_post_author_caches( $_posts ); if ( ! isset( $GLOBALS['post'] ) ) { $GLOBALS['post'] = reset( $ids ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 9e27ab05a5..033bef0eba 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-54098'; +$wp_version = '6.1-alpha-54099'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.