Make WordPress Core

Opened 3 months ago

Closed 3 months ago

#61056 closed enhancement (duplicate)

WP_Scripts_Module Class

Reported by: owaisansari53's profile owaisansari53 Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.5
Component: Script Loader Keywords:
Focuses: Cc:

Description

in WP 6.5 WP_Scripts_Module Class introduced which let us enqueue script modules however this works only on frontend but if we need to enqueue modules in the backend we cannot do because this class uses wp_head and wp_footer but for admin we need admin_head and admin_footer. Is it possible that we can use this class for admin? Most of things are ready in that class but it would be great to have possibility to enqueue modules in admin same way as we enqueue scripts.


Change History (1)

#1 @johnbillion
3 months ago

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

Thanks for the report, we already have #60596 for this.

Note: See TracTickets for help on using tickets.