[wp-trac] [WordPress Trac] #56481: Short-circuit HEAD methods in Core controllers

WordPress Trac noreply at wordpress.org
Tue Apr 8 13:54:59 UTC 2025


#56481: Short-circuit HEAD methods in Core controllers
-------------------------------------------------+-------------------------
 Reporter:  TimothyBlynJacobs                    |       Owner:
                                                 |  TimothyBlynJacobs
     Type:  task (blessed)                       |      Status:  closed
 Priority:  normal                               |   Milestone:  6.8
Component:  REST API                             |     Version:  4.7
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests fixed-      |     Focuses:  rest-api,
  major dev-reviewed                             |  performance
-------------------------------------------------+-------------------------
Changes (by audrasjb):

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


Comment:

 In [changeset:"60143" 60143]:
 {{{
 #!CommitTicketReference repository="" revision="60143"
 REST API: Fix hardcoded table name in `WP_Test_REST_Users_Controller`.

 This changeset fixes failing unit tests on the Hosting test suite because
 of the hardcoded table name in
 `WP_Test_REST_Users_Controller::test_get_items_only_fetches_ids_for_head_requests`.

 Reviewed by audrasjb, spacedmonkey.
 Merges [60141] to the 6.8 branch.
 Props antonvlasenko, desrosj.
 Fixes #56481.
 }}}

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


More information about the wp-trac mailing list