[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:18:21 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 reidbusi):

 It occurs to me that my one-liner filter suggested above only addresses
 the http(s) protocol case. I will proceed to test rmmcue's patch, which in
 theory should handle other protocols as well. However, I am concerned by
 the special case applied to curl.before_send, the most important one
 (especially to me and my clients).

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


More information about the wp-trac mailing list