diff --git a/wp-includes/theme.php b/wp-includes/theme.php index ee544e25dc..c3d5003f75 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -3804,6 +3804,7 @@ function _wp_keep_alive_customize_changeset_dependent_auto_drafts( $new_status, * See {@see 'setup_theme'}. * * @since 5.5.0 + * @since 6.1.0 The `block-templates` feature was added. */ function create_initial_theme_features() { register_theme_feature( @@ -3820,6 +3821,13 @@ function create_initial_theme_features() { 'show_in_rest' => true, ) ); + register_theme_feature( + 'block-templates', + array( + 'description' => __( 'Whether a theme uses block-based templates.' ), + 'show_in_rest' => true, + ) + ); register_theme_feature( 'custom-background', array( diff --git a/wp-includes/version.php b/wp-includes/version.php index 495b4a77a2..512490c0fc 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53657'; +$wp_version = '6.1-alpha-53659'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.