[wp-trac] [WordPress Trac] #61086: Script Modules: Hooks are not registered in wp-admin

WordPress Trac noreply at wordpress.org
Fri May 10 09:07:49 UTC 2024


#61086: Script Modules: Hooks are not registered in wp-admin
---------------------------+-----------------------------
 Reporter:  jonsurrell     |       Owner:  jonsurrell
     Type:  enhancement    |      Status:  closed
 Priority:  normal         |   Milestone:  Future Release
Component:  Script Loader  |     Version:  6.5
 Severity:  normal         |  Resolution:  fixed
 Keywords:  has-patch      |     Focuses:  javascript
---------------------------+-----------------------------
Changes (by gziolo):

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


Comment:

 In [changeset:"58126" 58126]:
 {{{
 #!CommitTicketReference repository="" revision="58126"
 Script Modules: Hooks are not registered in wp-admin

 Script Modules cannot be used in wp-admin. The necessary hooks are
 registered on wp_head or wp_footer, but should also be registered for the
 admin variants so that modules can be used from wp-admin.

 Fixes #61086.
 Props jonsurrell, cbravobernal, gziolo.
 }}}

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


More information about the wp-trac mailing list