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

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


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

 * owner:   => nacin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [21711]:
 {{{
 #!CommitTicketReference repository="" revision="21711"
 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().

 fixes #20246.
 for the 3.4 branch.
 }}}

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


More information about the wp-trac mailing list