Make WordPress Core

Opened 10 months ago

Last modified 3 months ago

#60985 reopened enhancement

Twenty Fifteen: Replace frontend jQuery usage with Interactivity API

Reported by: adamsilverstein's profile adamsilverstein Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords: needs-patch
Focuses: javascript, performance Cc:

Description

This ticket focuses on removing jQuery as a frontend dependency for Twenty Fifteen when the site is running WordPress >= 6.5 where we can leverage the Interactivity API instead.

This is similar to https://core.trac.wordpress.org/ticket/54172 which proposes replacing jQuery with vanilla JavaScript.

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.

Change History (6)

#1 @adamsilverstein
10 months ago

  • Keywords needs-patch added

This ticket was mentioned in Slack in #core-performance by adamsilverstein. View the logs.


9 months ago

#3 @sabernhardt
9 months ago

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

Duplicate of #61027.

Let's discuss any possible integrations in (classic) bundled themes on one ticket.

#4 @samiamnot
3 months ago

  • Resolution duplicate deleted
  • Status changed from closed to reopened

Reopening as per #61027

#5 @flixos90
3 months ago

#54172 was marked as a duplicate.

#6 @flixos90
3 months ago

  • Milestone set to Future Release

Let's centralize the discussion on the overarching effort in #61027 indeed. However, sub-tickets like this one make sense to track progress on the individual theme efforts.

Note: See TracTickets for help on using tickets.