Make WordPress Core

Opened 3 months ago

Last modified 3 months ago

#63092 assigned enhancement

REST API: Support preloading 'HEAD' requests

Reported by: mamaduka's profile Mamaduka Owned by: mamaduka's profile Mamaduka
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: REST API Keywords: has-patch has-unit-tests
Focuses: Cc:

Description

Related #45194, #56481.

Update the rest_preload_api_request method and support preloading requests using the HEAD method.

Change History (2)

This ticket was mentioned in PR #8502 on WordPress/wordpress-develop by @Mamaduka.


3 months ago
#1

  • Keywords has-patch has-unit-tests added

#2 @Mamaduka
3 months ago

If we can also resolve https://core.trac.wordpress.org/ticket/56481#comment:63, then this a good candidate for WP 6.8. Why?

The editor relies heavily on data preloading, especially for user permissions. Merging this early will also allow early adoption in the client code, which needs to support the last two major WP versions.

Note: See TracTickets for help on using tickets.