Skip to content

Commit dc0654a

Browse files
committed
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 WordPress/wordpress-develop#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
1 parent 892fcc2 commit dc0654a

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

wp-includes/theme.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2645,6 +2645,7 @@ function get_theme_starter_content() {
26452645
* @since 6.5.0 The `appearance-tools` feature enables a few design tools for blocks,
26462646
* see `WP_Theme_JSON::APPEARANCE_TOOLS_OPT_INS` for a complete list.
26472647
* @since 6.6.0 The `editor-spacing-sizes` feature was added.
2648+
* @since 7.0.0 The `html5` feature's 'script' and 'style' arguments are deprecated and unused.
26482649
*
26492650
* @global array $_wp_theme_features
26502651
*

wp-includes/version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* @global string $wp_version
1818
*/
19-
$wp_version = '7.0-beta2-61790';
19+
$wp_version = '7.0-beta2-61791';
2020

2121
/**
2222
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

0 commit comments

Comments
 (0)