[wp-trac] [WordPress Trac] #63060: Add an option to support all HTML5 theme support options

WordPress Trac noreply at wordpress.org
Wed Mar 5 16:32:56 UTC 2025


#63060: Add an option to support all HTML5 theme support options
-------------------------+-----------------------------
 Reporter:  joedolson    |      Owner:  (none)
     Type:  enhancement  |     Status:  assigned
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Themes       |    Version:
 Severity:  normal       |   Keywords:  needs-patch
  Focuses:               |
-------------------------+-----------------------------
 Currently, supporting HTML5 in WordPress themes requires the author to
 pass an array citing each area where they wish to support HTML5. This made
 sense in the early days of HTML5 support, as authors might want to change
 gradually, but in modern development HTML5 should be the expectation, and
 the majority of authors will want to support all of these automatically.

 To make this easier, I think we should be able to pass some form of truthy
 value into the `html5` theme support that enables all HTML5 output.

 Noted while looking into
 [https://github.com/WordPress/gutenberg/pull/66866 a related Gutenberg PR]
 and observing that missing documentation was causing an HTML5 feature to
 be omitted in multiple places.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63060>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list