[wp-trac] [WordPress Trac] #47578: Call static methods the right way

WordPress Trac noreply at wordpress.org
Tue Jun 25 18:43:32 UTC 2019


#47578: Call static methods the right way
--------------------------+-----------------------
 Reporter:  andizer       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.3
Component:  REST API      |     Version:  4.4
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  rest-api
--------------------------+-----------------------
Changes (by TimothyBlynJacobs):

 * keywords:  has-patch => needs-patch
 * version:   => 4.4
 * milestone:  Awaiting Review => 5.3


Comment:

 Good catch!

 There are a couple of other places where this could be fixed as well. In
 `rest_preload_api_request()` and in
 `WP_REST_Controller::prepare_response_for_collection()`

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


More information about the wp-trac mailing list