-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Add comment-form and comment-list to default html5 theme support (backport from WordPress Core for parity) #37464
Copy link
Copy link
Labels
[Feature] ThemesQuestions or issues with incorporating or styling blocks in a theme.Questions or issues with incorporating or styling blocks in a theme.[Status] In ProgressTracking issues with work in progressTracking issues with work in progress
Description
Description
Follow-up to PR #35593.
In WordPress Core's changeset 52369, two additional html5 theme supports were added: 'comment-form' and 'comment-list'. This issue seeks to backport the changeset from Core to Gutenberg to resync for parity.
The difference between Gutenberg and Core causes differences in Twenty Twenty-Two's comm ents markup output and visual styling. See Core Trac ticket https://core.trac.wordpress.org/ticket/54625 for more details.
To resync with Core by adding the 2 additional supports in the `lib/compat/wordpress-5.9/default-theme-support.php file
gutenberg/lib/compat/wordpress-5.9/default-theme-supports.php
Lines 12 to 18 in 7cbba26
| add_theme_support( | |
| 'html5', | |
| array( | |
| 'style', | |
| 'script', | |
| ) | |
| ); |
Step-by-step reproduction instructions
NA
Screenshots, screen recording, code snippet
NA
Environment info
NA
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Feature] ThemesQuestions or issues with incorporating or styling blocks in a theme.Questions or issues with incorporating or styling blocks in a theme.[Status] In ProgressTracking issues with work in progressTracking issues with work in progress
Type
Fields
Give feedbackNo fields configured for issues without a type.