Themes: update `add_theme_support` docblock.
Adds missing features to the list for the `$feature` parameter in `add_theme_support()`. Props up1512001, mukesh27, swissspidy, isabel_brison. Fixes #60221. Built from https://develop.svn.wordpress.org/trunk@57573 git-svn-id: http://core.svn.wordpress.org/trunk@57074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
962f2a1508
commit
1739bae7a8
|
@ -2612,11 +2612,18 @@ function get_theme_starter_content() {
|
||||||
* @since 5.3.0 The `html5` feature now also accepts 'script' and 'style'.
|
* @since 5.3.0 The `html5` feature now also accepts 'script' and 'style'.
|
||||||
* @since 5.3.0 Formalized the existing and already documented `...$args` parameter
|
* @since 5.3.0 Formalized the existing and already documented `...$args` parameter
|
||||||
* by adding it to the function signature.
|
* by adding it to the function signature.
|
||||||
|
* @since 5.4.0 The `disable-custom-gradients` feature limits to default gradients or gradients added
|
||||||
|
* through `editor-gradient-presets` theme support.
|
||||||
* @since 5.5.0 The `core-block-patterns` feature was added and is enabled by default.
|
* @since 5.5.0 The `core-block-patterns` feature was added and is enabled by default.
|
||||||
* @since 5.5.0 The `custom-logo` feature now also accepts 'unlink-homepage-logo'.
|
* @since 5.5.0 The `custom-logo` feature now also accepts 'unlink-homepage-logo'.
|
||||||
* @since 5.6.0 The `post-formats` feature warns if no array is passed as the second parameter.
|
* @since 5.6.0 The `post-formats` feature warns if no array is passed as the second parameter.
|
||||||
* @since 5.8.0 The `widgets-block-editor` feature enables the Widgets block editor.
|
* @since 5.8.0 The `widgets-block-editor` feature enables the Widgets block editor.
|
||||||
|
* @since 5.8.0 The `block-templates` feature indicates whether a theme uses block-based templates.
|
||||||
* @since 6.0.0 The `html5` feature warns if no array is passed as the second parameter.
|
* @since 6.0.0 The `html5` feature warns if no array is passed as the second parameter.
|
||||||
|
* @since 6.1.0 The `block-template-parts` feature allows to edit any reusable template part from site editor.
|
||||||
|
* @since 6.1.0 The `disable-layout-styles` feature disables the default layout styles.
|
||||||
|
* @since 6.3.0 The `link-color` feature allows to enable the link color setting.
|
||||||
|
* @since 6.3.0 The `border` feature allows themes without theme.json to add border styles to blocks.
|
||||||
* @since 6.5.0 The `appearance-tools` feature enables a few design tools for blocks,
|
* @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.
|
* see `WP_Theme_JSON::APPEARANCE_TOOLS_OPT_INS` for a complete list.
|
||||||
*
|
*
|
||||||
|
@ -2627,6 +2634,9 @@ function get_theme_starter_content() {
|
||||||
* - 'align-wide'
|
* - 'align-wide'
|
||||||
* - 'appearance-tools'
|
* - 'appearance-tools'
|
||||||
* - 'automatic-feed-links'
|
* - 'automatic-feed-links'
|
||||||
|
* - 'block-templates'
|
||||||
|
* - 'block-template-parts'
|
||||||
|
* - 'border'
|
||||||
* - 'core-block-patterns'
|
* - 'core-block-patterns'
|
||||||
* - 'custom-background'
|
* - 'custom-background'
|
||||||
* - 'custom-header'
|
* - 'custom-header'
|
||||||
|
@ -2638,21 +2648,24 @@ function get_theme_starter_content() {
|
||||||
* - 'dark-editor-style'
|
* - 'dark-editor-style'
|
||||||
* - 'disable-custom-colors'
|
* - 'disable-custom-colors'
|
||||||
* - 'disable-custom-font-sizes'
|
* - 'disable-custom-font-sizes'
|
||||||
|
* - 'disable-custom-gradients'
|
||||||
|
* - 'disable-layout-styles'
|
||||||
* - 'editor-color-palette'
|
* - 'editor-color-palette'
|
||||||
* - 'editor-gradient-presets'
|
* - 'editor-gradient-presets'
|
||||||
* - 'editor-font-sizes'
|
* - 'editor-font-sizes'
|
||||||
* - 'editor-styles'
|
* - 'editor-styles'
|
||||||
* - 'featured-content'
|
* - 'featured-content'
|
||||||
* - 'html5'
|
* - 'html5'
|
||||||
|
* - 'link-color'
|
||||||
* - 'menus'
|
* - 'menus'
|
||||||
* - 'post-formats'
|
* - 'post-formats'
|
||||||
* - 'post-thumbnails'
|
* - 'post-thumbnails'
|
||||||
* - 'responsive-embeds'
|
* - 'responsive-embeds'
|
||||||
* - 'starter-content'
|
* - 'starter-content'
|
||||||
* - 'title-tag'
|
* - 'title-tag'
|
||||||
* - 'wp-block-styles'
|
|
||||||
* - 'widgets'
|
* - 'widgets'
|
||||||
* - 'widgets-block-editor'
|
* - 'widgets-block-editor'
|
||||||
|
* - 'wp-block-styles'
|
||||||
* @param mixed ...$args Optional extra arguments to pass along with certain features.
|
* @param mixed ...$args Optional extra arguments to pass along with certain features.
|
||||||
* @return void|false Void on success, false on failure.
|
* @return void|false Void on success, false on failure.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.5-alpha-57572';
|
$wp_version = '6.5-alpha-57573';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue