Make WordPress Core

Opened 2 months ago

#60596 new enhancement

Script Modules API: Enable in the admin area

Reported by: johnbillion's profile johnbillion Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.5
Component: Script Loader Keywords: needs-patch
Focuses: administration Cc:

Description

The script modules API added in #56313 only includes hooks to output modules on the front end of a site (wp_head and wp_footer). This feature should work in the admin area too.

From https://core.trac.wordpress.org/ticket/56313#comment:49:

This feature only works on the front end, not within the wp-admin area, is this intentional?

It's not. Feel free to add a new ticket to add hooks for the admin.

Change History (0)

Note: See TracTickets for help on using tickets.