[wp-trac] [WordPress Trac] #59722: Regression: class-wp-rest-server.php
WordPress Trac
noreply at wordpress.org
Thu Oct 26 22:34:56 UTC 2023
#59722: Regression: class-wp-rest-server.php
--------------------------+-----------------------
Reporter: perrelet | Owner: jorbin
Type: defect (bug) | Status: closed
Priority: high | Milestone: 6.4
Component: REST API | Version: trunk
Severity: major | Resolution: fixed
Keywords: has-patch | Focuses: rest-api
--------------------------+-----------------------
Changes (by jorbin):
* owner: (none) => jorbin
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"57012" 57012]:
{{{
#!CommitTicketReference repository="" revision="57012"
REST API: Move `rest_pre_serve_request` filter to after no cache headers
are sent.
[56834] adjusted the order of activity inside the rest server responses.
This lead to the `rest_pre_serve_request` filter potentially blocking the
sending of the no cache headers. This moves that action back to being
after the sending of no cache headers has finished to restore the pre
6.3.2 order of these two actions.
Props perrelet, SergeyBiryukov, peterwilsoncc.
Fixes #59722.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59722#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list