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

WordPress Trac noreply at wordpress.org
Fri Dec 27 14:40:41 UTC 2024


#56481: Short-circuit HEAD methods in Core controllers
---------------------------------------------+-----------------------------
 Reporter:  TimothyBlynJacobs                |       Owner:
                                             |  TimothyBlynJacobs
     Type:  enhancement                      |      Status:  accepted
 Priority:  normal                           |   Milestone:  6.8
Component:  REST API                         |     Version:  4.7
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch has-unit-tests commit  |     Focuses:  rest-api,
                                             |  performance
---------------------------------------------+-----------------------------

Comment (by antonvlasenko):

 > Approved PR. This is good to commit.

 Thank you, @spacedmonkey.

 I haven't fixed the following controllers from your list yet:
 - WP_REST_Search_Controller
 - WP_REST_Sidebars_Controller
 - WP_REST_Templates_Controller
 - WP_REST_Widget_Types_Controller
 - WP_REST_Widgets_Controller

 Should be able to fix them by the end of the day today.

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


More information about the wp-trac mailing list