[wp-trac] [WordPress Trac] #61027: Twenty Twentyone: Replace frontend jQuery usage with Interactivity API
WordPress Trac
noreply at wordpress.org
Wed Apr 17 21:06:37 UTC 2024
#61027: Twenty Twentyone: Replace frontend jQuery usage with Interactivity API
-----------------------------+-----------------------------
Reporter: adamsilverstein | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version:
Severity: normal | Keywords:
Focuses: performance |
-----------------------------+-----------------------------
This ticket focuses on removing jQuery as a frontend dependency for Twenty
Twentyone when the site is running WordPress >= 6.5 where we can leverage
the Interactivity API instead.
Note:
Leveraging the Interactivity API for core themes will help us test and
consume our own APIs.
The Interactivity API will already be enqueued if any block leveraging the
API is used (Query, expanding Search and Navigation for example)
Existing code would stay in place for cases where the theme is used on
WordPress < 6.5.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61027>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list