From a851983a547793913810b96dfc1d86ca9342acd2 Mon Sep 17 00:00:00 2001 From: Jon Surrell Date: Thu, 26 Feb 2026 13:53:08 +0100 Subject: [PATCH 1/2] Add since annotation about html5 script/style support --- src/wp-includes/theme.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-includes/theme.php b/src/wp-includes/theme.php index db93c577d87cb..2d1baa390be71 100644 --- a/src/wp-includes/theme.php +++ b/src/wp-includes/theme.php @@ -2645,6 +2645,7 @@ function get_theme_starter_content() { * @since 6.5.0 The `appearance-tools` feature enables a few design tools for blocks, * see `WP_Theme_JSON::APPEARANCE_TOOLS_OPT_INS` for a complete list. * @since 6.6.0 The `editor-spacing-sizes` feature was added. + * @since 7.0.0 The `html5` feature 'script' and 'style' arguments are deprecated and unused. * * @global array $_wp_theme_features * From ab6cbf26aceac82f28b317b8dbb111ce0918aef0 Mon Sep 17 00:00:00 2001 From: Jon Surrell Date: Tue, 3 Mar 2026 13:10:22 +0100 Subject: [PATCH 2/2] Improve since annotation Co-authored-by: Weston Ruter --- src/wp-includes/theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/theme.php b/src/wp-includes/theme.php index 2d1baa390be71..cd83d15d1b914 100644 --- a/src/wp-includes/theme.php +++ b/src/wp-includes/theme.php @@ -2645,7 +2645,7 @@ function get_theme_starter_content() { * @since 6.5.0 The `appearance-tools` feature enables a few design tools for blocks, * see `WP_Theme_JSON::APPEARANCE_TOOLS_OPT_INS` for a complete list. * @since 6.6.0 The `editor-spacing-sizes` feature was added. - * @since 7.0.0 The `html5` feature 'script' and 'style' arguments are deprecated and unused. + * @since 7.0.0 The `html5` feature's 'script' and 'style' arguments are deprecated and unused. * * @global array $_wp_theme_features *