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

WordPress Trac noreply at wordpress.org
Thu Feb 17 19:22:56 UTC 2022


#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 commit  |     Focuses:
--------------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:45 GermanKiwi]:
 > Question: is it possible the patch provided here is also stripping out
 the `type="module"` attribute?
 >
 > If so, could that please be reversed or fixed, so that this attribute is
 not removed?

 Hi there, welcome to WordPress Trac!

 As far as I can tell, the changes in [46164] should only specifically
 affect the `type="text/javascript"` attribute, but I have not tested them
 with other values.

 Please note that this ticket was closed on a completed milestone and may
 not receive enough attention for further updates. If the issue is still
 relevant, could you create a new ticket for investigation? Thanks!

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


More information about the wp-trac mailing list