Skip to content

Add comment-form and comment-list to default html5 theme support (backport from WordPress Core for parity) #37464

@hellofromtonya

Description

@hellofromtonya

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

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

Metadata

Metadata

Assignees

Labels

[Feature] ThemesQuestions or issues with incorporating or styling blocks in a theme.[Status] In ProgressTracking issues with work in progress

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions