[wp-trac] [WordPress Trac] #22531: integrate fetch_json($url)
WordPress Trac
noreply at wordpress.org
Wed Nov 21 20:22:34 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 alexvorn2):
Replying to [comment:1 nacin]:
> Feeds need to be parsed. JSON doesn't. Here's your function:
`json_decode( file_get_contents( $url ) );`
It is not nice to have file_get_contents function in a theme
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22531#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list