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

WordPress Trac noreply at wordpress.org
Wed Sep 18 23:44:51 UTC 2019


#42804: type is not required in HTML5
-------------------------------------------------+-------------------------
 Reporter:  sasiddiqui                           |       Owner:
                                                 |  SergeyBiryukov
     Type:  enhancement                          |      Status:  reopened
 Priority:  low                                  |   Milestone:  5.3
Component:  Script Loader                        |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  needs-testing has-patch needs-dev-   |     Focuses:
  note                                           |
-------------------------------------------------+-------------------------

Comment (by azaozz):

 In 42804.2.diff:
 - Add `function_exists()` when using `is_admin()` and
 `current_theme_supports()`. At some point WP_Dependencies was a separate
 "package". It's very unlikely but "something" may still be using it that
 way...
 - Remove `<![CDATA[` when outputting HTML 5.0 script tags. Not sure if it
 triggers validation errors, but is super outdated.

 @SergeyBiryukov could you have a look in case I'm missing something and
 commit plz :)

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


More information about the wp-trac mailing list