[wp-trac] [WordPress Trac] #20246: When adding a url to video

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 3 21:42:26 UTC 2012


#20246: When adding a url to video
------------------------------+--------------------
 Reporter:  dimitrov.adrian   |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  3.4.2
Component:  Media             |     Version:  3.3.1
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+--------------------

Comment (by nacin):

 In [21701]:
 {{{
 #!CommitTicketReference repository="" revision="21701"
 Fix oEmbed when the provider only supports XML responses.

 [20539] removed string casts that would have taken place on
 SimpleXMLElement
 objects, which implement toString. Instead, convert the SimpleXMLElement
 object
 to a stdClass object before we leave _parse_xml(), for consistency with
 the
 simple object returned from _parse_json().

 see #20246.
 for trunk.
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20246#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list