[wp-trac] [WordPress Trac] #22531: integrate fetch_json($url)
WordPress Trac
noreply at wordpress.org
Wed Nov 21 20:23:30 UTC 2012
#22531: integrate fetch_json($url)
-------------------------+----------------------
Reporter: alexvorn2 | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: General | Version:
Severity: normal | Resolution: wontfix
Keywords: |
-------------------------+----------------------
Comment (by nacin):
You're right. This would be the proper way to do it in WordPress:
`json_decode( wp_remote_retrieve_body( wp_remote_get( $url ) ) );`
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22531#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list