[wp-trac] [WordPress Trac] #54529: Allow for `wp_register_script()` to be called after `wp_enqueue_script()`.
WordPress Trac
noreply at wordpress.org
Thu Dec 2 22:49:00 UTC 2021
#54529: Allow for `wp_register_script()` to be called after `wp_enqueue_script()`.
---------------------------------------------+---------------------
Reporter: dd32 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.9
Component: Script Loader | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests commit | Focuses:
---------------------------------------------+---------------------
Changes (by azaozz):
* keywords: has-patch has-unit-tests => has-patch has-unit-tests commit
Comment:
The patch/PR looks good here, scripts can be enqueued and dequeued (by
"handle") before they are registered.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54529#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list