[wp-trac] [WordPress Trac] #27278: More sanity to add_theme_support( 'html5' )

WordPress Trac noreply at wordpress.org
Wed Mar 5 21:36:13 UTC 2014


#27278: More sanity to add_theme_support( 'html5' )
-------------------------+------------------------------
 Reporter:  jond3r       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Themes       |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------------------

Comment (by nathanrice):

 Option 1 seems sensible to me. It doesn't relegate `gallery` to any non-
 preferred status, it's just a fallback for people who implemented `html5`
 support before `gallery` support existed. If all the documentation
 recommends being explicit with what elements you want on, use of `html5`
 without explicit support will go way down.

 This preserves backward compat without breaking sites.

 Removing the ability to use `html5` by itself isn't "future proof as other
 types are added" any more than option 1 is. All it does is forces
 unnecessary failures with the only real benefit being the removal of some
 code.

 As far as I'm concerned, this doesn't even warrant a `_doing_it_wrong`
 trigger. Themes (for the most part) don't exactly have a way of pushing
 updates out to users.

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


More information about the wp-trac mailing list