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:
@@ -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
|
||||
*
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user