Make WordPress Core

Opened 3 years ago

Closed 2 years ago

Last modified 2 years ago

#61087 closed enhancement (fixed)

Interactivity API: Cannot be used from wp-admin

Reported by: jonsurrell Owned by: jonsurrell
Priority: normal Milestone: 6.6
Component: Interactivity API Version: 6.5
Severity: normal Keywords: has-patch
Cc: Focuses: javascript

Description

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

Related to #61086.

Change History (5)

This ticket was mentioned in ​PR #6453 on ​WordPress/wordpress-develop by ​@jonsurrell.


3 years ago
#1

  • Keywords has-patch added

#2 @jonsurrell
3 years ago

  • Component General → Interactivity API

#3 @gziolo
3 years ago

  • Milestone Awaiting Review → 6.6
  • Version → 6.5

#4 @gziolo
2 years ago

  • Resolution → fixed
  • Status assigned → closed

In 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.

Note: See TracTickets for help on using tickets.