[wp-trac] [WordPress Trac] #22531: integrate fetch_json($url)
WordPress Trac
noreply at wordpress.org
Sun Jun 16 20:39:33 UTC 2013
#22531: integrate fetch_json($url)
-------------------------+------------------------------
Reporter: alexvorn2 | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: |
-------------------------+------------------------------
Comment (by nacin):
fetch_feed() specifically wraps RSS feeds. fetch_ json() is just ripe for
abuse. If all it does is wrap the HTTP API, and then does json_decode(),
that does not seem useful. Why add an extra layer to the API here?
Especially given disparate needs of caching, API calls versus fetching
data, etc.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22531#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list