[wp-trac] [WordPress Trac] #61056: WP_Scripts_Module Class
WordPress Trac
noreply at wordpress.org
Tue Apr 23 13:43:45 UTC 2024
#61056: WP_Scripts_Module Class
---------------------------+-----------------------------
Reporter: owaisansari53 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Script Loader | Version: 6.5
Severity: normal | Keywords:
Focuses: |
---------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61056>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list