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

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 3 15:20:37 UTC 2012


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

Comment (by SergeyBiryukov):

 Apparently `wp_oembed_get()` has returned a SimpleXMLElement object.
 However, looking at the core code, it should only return a string or
 false.

 I've added the line from bg_BG version:
 {{{
 wp_oembed_add_provider( '#http://(www\.)?vbox7\.com/play:.+#',
 'http://vbox7.com/etc/oembed/', true );
 }}}
 Then tried to embed a random video from vbox7.com. The video appeared
 without an error.

 Have you tried with all plugins disabled? What are the steps to reproduce
 this on a clean install?

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


More information about the wp-trac mailing list