[wp-trac] [WordPress Trac] #37081: Requests: http_api_debug parameter no longer accurate
WordPress Trac
noreply at wordpress.org
Sun Jun 12 15:01:35 UTC 2016
#37081: Requests: http_api_debug parameter no longer accurate
--------------------------+-------------------------
Reporter: johnbillion | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: HTTP API | Version: trunk
Severity: normal | Keywords: needs-patch
Focuses: |
--------------------------+-------------------------
The `$class` parameter that's passed to the `http_api_debug` action is
supposed to represent the name of the transport class used for the
request. Since the introduction of the `Requests` library, this is no
longer the case. The string `Requests` is passed instead. This means
debugging tools that hook into `http_api_debug` can no longer determine
which transport was used.
In addition, the `http_api_debug` action is documented in two separate
places.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37081>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list