diff --git a/wp-includes/block-template-utils.php b/wp-includes/block-template-utils.php index a34caff00d..a7071bed93 100644 --- a/wp-includes/block-template-utils.php +++ b/wp-includes/block-template-utils.php @@ -952,11 +952,12 @@ function get_block_templates( $query = array(), $template_type = 'wp_template' ) $post_type = isset( $query['post_type'] ) ? $query['post_type'] : ''; $wp_query_args = array( - 'post_status' => array( 'auto-draft', 'draft', 'publish' ), - 'post_type' => $template_type, - 'posts_per_page' => -1, - 'no_found_rows' => true, - 'tax_query' => array( + 'post_status' => array( 'auto-draft', 'draft', 'publish' ), + 'post_type' => $template_type, + 'posts_per_page' => -1, + 'no_found_rows' => true, + 'lazy_load_term_meta' => false, + 'tax_query' => array( array( 'taxonomy' => 'wp_theme', 'field' => 'name', diff --git a/wp-includes/version.php b/wp-includes/version.php index 5e345f097b..af7183763a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.3-alpha-55816'; +$wp_version = '6.3-alpha-55817'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.