diff --git a/wp-includes/block-template-utils.php b/wp-includes/block-template-utils.php index 951bd523c2..08933d4f81 100644 --- a/wp-includes/block-template-utils.php +++ b/wp-includes/block-template-utils.php @@ -696,7 +696,7 @@ function get_block_templates( $query = array(), $template_type = 'wp_template' ) $is_not_custom = false === array_search( wp_get_theme()->get_stylesheet() . '//' . $template_file['slug'], - array_column( $query_result, 'id' ), + wp_list_pluck( $query_result, 'id' ), true ); $fits_slug_query = diff --git a/wp-includes/version.php b/wp-includes/version.php index 9eadffc8ed..be0d6d1684 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53924'; +$wp_version = '6.1-alpha-53927'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.