[wp-trac] [WordPress Trac] #43352: Make html5 standard rather than opt in for theme development

WordPress Trac noreply at wordpress.org
Wed May 9 10:47:40 UTC 2018


#43352: Make html5 standard rather than opt in for theme development
-----------------------------+------------------------------
 Reporter:  kkalvaa          |       Owner:  (none)
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Themes           |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  template
-----------------------------+------------------------------

Comment (by kkalvaa):

 For existing themes that opt in WordPress could simply ignore the
 statement and load regardless. There shouldn't be any problem in this
 scenario.

 The problem arises from themes that doesn't opt in and also asumes the
 code isn't HTML5. Strictly speaking html5 elements should work in modern
 browsers regardless of whether the theme declares support or not, and as
 long as the css use classes or id selectors rendering should still work as
 intended. If on the other hand the css specifically targets element
 structures then there's a problem with changing the default.

 I guess the question becomes how many sites assume the old default in such
 a way that this change would be a render breaking change.

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


More information about the wp-trac mailing list