[wp-trac] [WordPress Trac] #59865: wp_enqueue_script problem
WordPress Trac
noreply at wordpress.org
Thu Nov 9 16:27:53 UTC 2023
#59865: wp_enqueue_script problem
---------------------------+------------------------------
Reporter: jareksol | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Script Loader | Version: 6.4
Severity: normal | Resolution:
Keywords: close | Focuses:
---------------------------+------------------------------
Changes (by jorbin):
* keywords: => close
* severity: major => normal
Comment:
Hi @jareksol,
I am not able to replicate this on a default install. From the looks of
the tag that is printed, something is attempting to inject the `defer`
loading strategy. This is likely a plugin or some code in your theme and
is not the supported way to adjust the loading strategy.
See: https://make.wordpress.org/core/2023/10/17/script-loading-changes-in-
wordpress-6-4/ and https://make.wordpress.org/core/2023/07/14/registering-
scripts-with-async-and-defer-attributes-in-wordpress-6-3/
I believe this should be closed as `invalid` as it is not a bug in
WordPress Core.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59865#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list