[wp-trac] [WordPress Trac] #37843: `http_api_curl` hook no longer available for adding custom cURL options

WordPress Trac noreply at wordpress.org
Sat Oct 1 17:43:37 UTC 2016


#37843: `http_api_curl` hook no longer available for adding custom cURL options
--------------------------+-----------------------
 Reporter:  ChaseWiseman  |       Owner:  rmccue
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  4.7
Component:  HTTP API      |     Version:  4.6
 Severity:  major         |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------

Comment (by rmccue):

 Replying to [comment:17 reidbusi]:
 > Wouldn't this be a lot simpler?

 This enshrines the hooks object into the WordPress API, and would make it
 harder if we wanted to migrate away from it later (or if Requests changes
 the format).

 > Thanks for the advice, but I'd prefer if you leave that to us:

 That's why the action still exists. In 99% of cases, you're best off using
 the higher level abstractions for compatibility.

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


More information about the wp-trac mailing list