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

WordPress Trac noreply at wordpress.org
Tue Sep 24 02:56:08 UTC 2019


#42804: type is not required in HTML5
-------------------------------------------------+-------------------------
 Reporter:  sasiddiqui                           |       Owner:
                                                 |  SergeyBiryukov
     Type:  task (blessed)                       |      Status:  closed
 Priority:  low                                  |   Milestone:  5.3
Component:  Script Loader                        |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  needs-testing has-patch needs-dev-   |     Focuses:
  note commit                                    |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"46287" 46287]:
 {{{
 #!CommitTicketReference repository="" revision="46287"
 Script Loader: Add `function_exists()` checks for `is_admin()` and
 `current_theme_supports()`, to accomodate for using `WP_Dependencies` as a
 standalone class.

 Remove `<![CDATA[` when outputting HTML5 script tags.

 Props azaozz.
 Fixes #42804.
 }}}

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


More information about the wp-trac mailing list