[wp-trac] [WordPress Trac] #33055: Support Parallel HTTP Requests in WP_Http, et al

WordPress Trac noreply at wordpress.org
Wed Jul 6 17:50:46 UTC 2016


#33055: Support Parallel HTTP Requests in WP_Http, et al
----------------------------------------+--------------------------
 Reporter:  wonderboymusic              |       Owner:  rmccue
     Type:  task (blessed)              |      Status:  assigned
 Priority:  high                        |   Milestone:  4.6
Component:  HTTP API                    |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch needs-dev-note  |     Focuses:  performance
----------------------------------------+--------------------------

Comment (by rmccue):

 In [changeset:"37989"]:
 {{{
 #!CommitTicketReference repository="" revision="37989"
 HTTP API: Switch back to returning an array.

 The array-compatibility object we started returning in r37428
 unfortunately isn't enough like an array. In particular, `is_array()`
 checks fail, despite the object implementing ArrayAccess. Mea culpa.

 This moves the WP_HTTP_Response object to a new http_response key in the
 array, and changes the value back to an actual array.

 Fixes #37097.
 See #33055.
 }}}

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


More information about the wp-trac mailing list