#60221 closed enhancement (fixed)
Document full list of features in `add_theme_support` docblock
Reported by: | isabel_brison | Owned by: | isabel_brison |
---|---|---|---|
Milestone: | 6.5 | Priority: | normal |
Severity: | normal | Version: | 6.5 |
Component: | Themes | Keywords: | has-patch |
Focuses: | Cc: |
Description
Follow up from #60118.
There are a few features currently missing from the list: border, block-templates and block-template-parts. Would be good to search the codebase for any others that might have snuck in and add them all :)
Change History (9)
#3
in reply to:
↑ description
@
10 months ago
Replying to isabel_brison:
Follow up from #60118.
There are a few features currently missing from the list: border, block-templates and block-template-parts. Would be good to search the codebase for any others that might have snuck in and add them all :)
I have added all theme support list here please check if any support still missing.
- admin-bar
- align-wide
- appearance-tools
- automatic-feed-links
- block-template-parts
- block-templates
- border
- core-block-patterns
- custom-background
- custom-header
- custom-line-height
- custom-logo
- custom-spacing
- customize-selective-refresh-widgets
- custom-units
- dark-editor-style
- disable-custom-colours
- disable-custom-font-sizes
- disable-custom-gradients
- disable-layout-styles
- editor-color-palette
- editor-font-sizes
- editor-gradient-presets
- editor-styles
- featured-content
- html5
- link-color
- menus
- post-formats
- post-thumbnails
- responsive-embeds
- starter-content
- title-tag
- widgets
- widgets-block-editor
- wp-block-styles
@isabel_brison @mukesh27
This ticket was mentioned in PR #6025 on WordPress/wordpress-develop by @up1512001.
10 months ago
#4
- Keywords has-patch added; needs-patch removed
Trac ticket: https://core.trac.wordpress.org/ticket/60221
- This PR will update docblock for
add_theme_support()
oftheme.php
file.
### Updated param list.
* @param string $feature The feature being added. Likely core values include:
* - 'admin-bar'
* - 'align-wide'
* - 'appearance-tools'
* - 'automatic-feed-links'
* - 'block-template-parts'
* - 'block-templates'
* - 'border'
* - 'core-block-patterns'
* - 'custom-background'
* - 'custom-header'
* - 'custom-line-height'
* - 'custom-logo'
* - 'customize-selective-refresh-widgets'
* - 'custom-spacing'
* - 'custom-units'
* - 'dark-editor-style'
* - 'disable-custom-colors'
* - 'disable-custom-font-sizes'
* - 'disable-custom-gradients'
* - 'disable-layout-styles'
* - 'editor-color-palette'
* - 'editor-gradient-presets'
* - 'editor-font-sizes'
* - 'editor-styles'
* - 'featured-content'
* - 'html5'
* - 'link-color'
* - 'menus'
* - 'post-formats'
* - 'post-thumbnails'
* - 'responsive-embeds'
* - 'starter-content'
* - 'title-tag'
* - 'wp-block-styles'
* - 'widgets'
* - 'widgets-block-editor'
@up1512001 commented on PR #6025:
10 months ago
#5
Hey @mukeshpanchal27 could you please look into this PR?
@mukesh27 commented on PR #6025:
10 months ago
#6
@up1512001 left one review feedback.
#7
@
10 months ago
@isabel_brison @poena Are you perhaps able to double check some of the version numbers in https://github.com/WordPress/wordpress-develop/pull/6025?
#8
@
10 months ago
- Owner set to isabel_brison
- Resolution set to fixed
- Status changed from new to closed
In 57573:
@isabel_brison commented on PR #6025:
10 months ago
#9
Committed in r57573.
Hey, @mukesh27 I want to work on this ticket if its not assign to anyone.