Make WordPress Core

Opened 7 months ago

Closed 5 months ago

#60596 closed enhancement (duplicate)

Script Modules API: Enable in the admin area

Reported by: johnbillion's profile johnbillion Owned by:
Milestone: 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 (2)

#1 @johnbillion
5 months ago

#61056 was marked as a duplicate.

#2 @johnbillion
5 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Closing as a duplicate of #61086 (even though this ticket is older) because that has a patch.

Note: See TracTickets for help on using tickets.