[wp-trac] [WordPress Trac] #42061: Add new utility function for checking if the current request is a REST API request.
WordPress Trac
noreply at wordpress.org
Wed Oct 18 17:32:07 UTC 2023
#42061: Add new utility function for checking if the current request is a REST API
request.
------------------------------------+------------------------------------
Reporter: lots.0.logs | Owner: TimothyBlynJacobs
Type: enhancement | Status: assigned
Priority: normal | Milestone: Future Release
Component: Bootstrap/Load | Version: 4.9
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses: rest-api, performance
------------------------------------+------------------------------------
Comment (by TimothyBlynJacobs):
Big +1 to making things more testable. But yeah I do think it is solving a
slightly different problem, and we do want to make that ''very'' clear in
the function name.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42061#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list