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

WordPress Trac noreply at wordpress.org
Wed Sep 13 20:50:32 UTC 2023


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

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"56568" 56568]:
 {{{
 #!CommitTicketReference repository="" revision="56568"
 General: Update `wp_register_script()` calls in core to use new function
 signature.

 Since most core scripts are registered using `WP_Scripts::add()`, which is
 not affected by the signature change, only calls to `wp_register_script()`
 using the old signature need to be updated. There is only a single
 instance left, which is updated in this changeset.

 Props incursadesigns.
 Fixes #58634.
 }}}

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


More information about the wp-trac mailing list