[wp-trac] [WordPress Trac] #42804: type is not required in HTML5

WordPress Trac noreply at wordpress.org
Tue Dec 5 14:16:45 UTC 2017


#42804: type is not required in HTML5
---------------------------------------+------------------------------
 Reporter:  sasiddiqui                 |       Owner:
     Type:  enhancement                |      Status:  new
 Priority:  low                        |   Milestone:  Awaiting Review
Component:  Script Loader              |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  needs-testing needs-patch  |     Focuses:
---------------------------------------+------------------------------

Comment (by knutsp):

 Something like `add_theme_support( 'html5', [ 'script', 'css' ] );`?

 We already have `add_theme_support( 'html5', [ 'comment-list', 'comment-
 form', 'search-form', 'gallery', 'caption' ] );

 Could this be simplified to just `add_theme_support( 'html5' );` to catch
 all?

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


More information about the wp-trac mailing list