[wp-trac] [WordPress Trac] #58634: Update uses of script registration functions to use new function signature

WordPress Trac noreply at wordpress.org
Wed Sep 6 21:25:58 UTC 2023


#58634: Update uses of script registration functions to use new function signature
-------------------------------------+-------------------------------------
 Reporter:  joemcgill                |       Owner:  (none)
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  6.4
Component:  General                  |     Version:  6.3
 Severity:  normal                   |  Resolution:
 Keywords:  good-first-bug needs-    |     Focuses:  javascript,
  patch                              |  performance
-------------------------------------+-------------------------------------
Changes (by flixos90):

 * keywords:  good-first-bug has-patch needs-testing => good-first-bug
     needs-patch
 * focuses:  javascript => javascript, performance


Comment:

 See above, the theme specific updates were committed in [56526]. As such,
 I'm "resetting" this ticket to now be focused on the core specific updates
 to use the new `wp_register_script()` / `wp_enqueue_script()` signatures.

 As such, this ticket needs a new patch / PR :)

 I'm adding the `performance` keyword, since, while this ticket itself is
 not going to change performance, it is a direct outcome of the performance
 related script loading strategy effort that launched in WordPress 6.3.

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


More information about the wp-trac mailing list