[wp-trac] [WordPress Trac] #18732: Pass request arguments to the http_api_debug hook
WordPress Trac
wp-trac at lists.automattic.com
Tue Sep 27 08:52:26 UTC 2011
#18732: Pass request arguments to the http_api_debug hook
-------------------------+-----------------------
Reporter: johnbillion | Owner: dd32
Type: enhancement | Status: accepted
Priority: normal | Milestone: 3.3
Component: HTTP | Version: 3.3
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+-----------------------
Comment (by dd32):
> In order to log the transport, it uses the http_api_debug hook, but this
hook doesn't get passed the args so it can't be matched up to the request
it belongs to.
Thought as much, The way I did it in Core Control was to look at the
start, and realise that only one request can take place at a time
therefor, the next call of the debug hook is the result for it. That being
said, I'll throw the patch here in
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18732#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list