[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 05:41:20 UTC 2021


#54529: Allow for `wp_register_script()` to be called after `wp_enqueue_script()`.
--------------------------------------+---------------------
 Reporter:  dd32                      |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  5.9
Component:  Script Loader             |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------
Changes (by kraftbj):

 * version:   => trunk
 * milestone:  Awaiting Review => 5.9


Comment:

 I'm adding this to the 5.9 milestone so it can be considered before FSE
 becomes stable. It seems like a good change to me and the ripe time to do
 it is before requiring plugin authors to update their code.

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


More information about the wp-trac mailing list