[wp-trac] [WordPress Trac] #45189: Improve preloading request code

WordPress Trac noreply at wordpress.org
Mon Oct 29 00:47:05 UTC 2018


#45189: Improve preloading request code
--------------------------+------------------------------
 Reporter:  schlessera    |       Owner:  danielbachhuber
     Type:  defect (bug)  |      Status:  closed
 Priority:  low           |   Milestone:  5.0
Component:  REST API      |     Version:  5.0
 Severity:  minor         |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  rest-api
--------------------------+------------------------------
Changes (by danielbachhuber):

 * owner:  (none) => danielbachhuber
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"43834" 43834]:
 {{{
 #!CommitTicketReference repository="" revision="43834"
 REST API: Improve performance by avoiding `call_user_func()`.

 The `get_compact_response_links()` method was introduced in WP 4.5, and
 this conditional is no longer necessary.

 Props schlessera, timothyblynjacobs.
 Fixes #45189.
 }}}

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


More information about the wp-trac mailing list