#60221 closed enhancement (fixed)
Document full list of features in `add_theme_support` docblock
| Reported by: | isabel_brison | Owned by: | isabel_brison |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.5 |
| Component: | Themes | Version: | 6.5 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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
@
3 years 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.
3 years 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.phpfile.
### 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:
3 years ago
#5
Hey @mukeshpanchal27 could you please look into this PR?
@mukesh27 commented on PR #6025:
3 years ago
#6
@up1512001 left one review feedback.
#7
@
3 years 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?
@isabel_brison commented on PR #6025:
3 years ago
#9
Committed in r57573.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hey, @mukesh27 I want to work on this ticket if its not assign to anyone.