[wp-trac] [WordPress Trac] #61087: Interactivity API: Cannot be used from wp-admin

WordPress Trac noreply at wordpress.org
Fri May 10 09:12:00 UTC 2024


#61087: Interactivity API: Cannot be used from wp-admin
-------------------------------+-------------------------
 Reporter:  jonsurrell         |       Owner:  jonsurrell
     Type:  enhancement        |      Status:  closed
 Priority:  normal             |   Milestone:  6.6
Component:  Interactivity API  |     Version:  6.5
 Severity:  normal             |  Resolution:  fixed
 Keywords:  has-patch          |     Focuses:  javascript
-------------------------------+-------------------------
Changes (by gziolo):

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


Comment:

 In [changeset:"58127" 58127]:
 {{{
 #!CommitTicketReference repository="" revision="58127"
 Interactivity API: Cannot be used from wp-admin

 Interactivity API has hooks that run on the frontend, but not in wp-admin.
 This means that interactivity data was not printed to the HTML and the
 interactivity Script Modules were not registered.

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

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


More information about the wp-trac mailing list