[wp-trac] [WordPress Trac] #54731: Make block themes fully support HTML5 by default.

WordPress Trac noreply at wordpress.org
Tue Jan 4 18:39:07 UTC 2022


#54731: Make block themes fully support HTML5 by default.
---------------------------------------------+-----------------------------
 Reporter:  costdev                          |       Owner:  hellofromTonya
     Type:  task (blessed)                   |      Status:  closed
 Priority:  normal                           |   Milestone:  5.9
Component:  Themes                           |     Version:  trunk
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+-----------------------------
Changes (by hellofromTonya):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"52439" 52439]:
 {{{
 #!CommitTicketReference repository="" revision="52439"
 Themes: Make block themes support HTML5 by default.

 For block themes, [52369] added HTML5 support for `'comment-list'`,
 `'comment-form'`, `'style'`, and `'script'`. However, when sites upgrade
 to 5.9 with non-block content such as a gallery and caption, the markup
 was not HTML5.

 This commit adds full HTML5 theme feature support for block themes. Non-
 block content such as a `[gallery]` and `[caption]` shortcodes will
 natively be in HMTL5 markup without block themes needing to specifically
 add `add_theme_support( 'html5, .. )` to the theme.

 Follow-up to [24417], [27302], [34261], [52369], [52383], [52386].

 Props @joyously, costdev, hellofromTonya, audrasjb, Mamaduka, ocean90.
 Fixes #54731. See #54597.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54731#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list