Script Loader: Document deprecated html5 script and style theme support.

Add a `@since` annotation to `add_theme_support()` to deprecate `html5` feature's `script` and `style` arguments.

Developed in https://github.com/WordPress/wordpress-develop/pull/11061.

Follow-up to [61415].

Props jonsurrell, westonruter.
Fixes #64442.

Built from https://develop.svn.wordpress.org/trunk@61791


git-svn-id: http://core.svn.wordpress.org/trunk@61097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
jonsurrell
2026-03-03 12:26:46 +00:00
parent 892fcc25be
commit dc0654a64c
2 changed files with 2 additions and 1 deletions

View File

@@ -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's 'script' and 'style' arguments are deprecated and unused.
*
* @global array $_wp_theme_features
*

View File

@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '7.0-beta2-61790';
$wp_version = '7.0-beta2-61791';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.