[wp-trac] [WordPress Trac] #37097: Return array from WP_Http::request for compatibility
WordPress Trac
noreply at wordpress.org
Tue Jun 14 05:11:57 UTC 2016
#37097: Return array from WP_Http::request for compatibility
--------------------------+--------------------
Reporter: rmccue | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: HTTP API | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+--------------------
Comment (by rmccue):
Replying to [comment:1 Shelob9]:
> I wonder if it makes sense to add a property to the class for last
request's response and put it there.
I'm not sure what benefit this would provide over the `http_api_debug`
hook? wpdb has to keep stuff around for technical reasons, I'd prefer to
avoid persisting state where we don't need to.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37097#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list