[wp-trac] [WordPress Trac] #59722: Regression: class-wp-rest-server.php

WordPress Trac noreply at wordpress.org
Thu Oct 26 23:14:37 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 dev-reviewed  |     Focuses:  rest-api
------------------------------------+-----------------------
Changes (by jorbin):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"57014" 57014]:
 {{{
 #!CommitTicketReference repository="" revision="57014"
 REST API: Move rest_pre_serve_request filter to after no cache headers are
 sent.

 Merges [57012] to 6.4 branch.

 [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, hellofromTonya.
 Fixes #59722.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59722#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list