[wp-trac] [WordPress Trac] #11964: WP_oEmbed::fetch() doesn't give any results if the provider doesn't support JSON
WordPress Trac
wp-trac at lists.automattic.com
Thu Jan 21 11:26:44 UTC 2010
#11964: WP_oEmbed::fetch() doesn't give any results if the provider doesn't support
JSON
--------------------------+-------------------------------------------------
Reporter: nbachiyski | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: Media | Version:
Severity: normal | Keywords: has-patch
--------------------------+-------------------------------------------------
Currently:
A request is made for JSON format and if we get an error we give up on
that provider.
Expected:
According to the oEmbed specification a provider should return {{{501 Not
Implemented}}} if it doesn't support the format. We should respect that
and try the next format, instead of immediately failing.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11964>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list