[wp-trac] [WordPress Trac] #64648: Backport enqueue of @wordpress/core-abilities script module

WordPress Trac noreply at wordpress.org
Mon Feb 16 15:10:45 UTC 2026


#64648: Backport enqueue of @wordpress/core-abilities script module
------------------------------+-----------------------------
 Reporter:  jorgefilipecosta  |      Owner:  (none)
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  AI                |    Version:  trunk
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+-----------------------------
 Backports PHP changes in:
 https://github.com/WordPress/gutenberg/pull/73428

 The abilities API packages ({{{@wordpress/abilities}}} and {{{@wordpress
 /core-abilities}}}) were added to WordPress core (during the Gutenberg
 version change) but are not currently available for dynamic imports
 because they are not enqueued and therefore not included in the import
 map.

 This ticket adds the necessary enqueue so that {{{await
 import('@wordpress/abilities')}}} works when used byt WordPress plugins
 (and can be tested from the browser console).


 In Gutenberg, the {{{@wordpress/core-abilities}}} module is enqueued in
 via {{{lib/client-assets.php}}}. WordPress core needs the equivalent
 functionality.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64648>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list