[wp-trac] [WordPress Trac] #51447: "type" attribute is unnecessary for JavaScript resources.
WordPress Trac
noreply at wordpress.org
Mon Oct 5 09:22:09 UTC 2020
#51447: "type" attribute is unnecessary for JavaScript resources.
-------------------------------+-------------------------------------------
Reporter: mhimon | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Script Loader | Version: 5.5.1
Severity: minor | Resolution:
Keywords: reporter-feedback | Focuses: javascript, coding-standards
-------------------------------+-------------------------------------------
Changes (by Hareesh Pillai):
* keywords: => reporter-feedback
* component: General => Script Loader
* severity: major => minor
Comment:
Hello and welcome to trac, @mhimon. Thanks for the report.
This was earlier fixed in #42804.
I could not reproduce this in the Twenty Twenty theme using the latest
WordPress version.
Can you help by sharing some more details of your setup - especially how
jQuery script is enqueued?
Further, the notice that you see is only a `warning` - which means the
site will continue to work without any issue. Hence, I'm changing the
severity of this ticket.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51447#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list