[wp-trac] [WordPress Trac] #23572: Add functions to parse Audio / Video data out of arbitrary content or a post

WordPress Trac noreply at wordpress.org
Wed Mar 27 09:32:20 UTC 2013


#23572: Add functions to parse Audio / Video data out of arbitrary content or a
post
-----------------------------------------------+------------------
 Reporter:  wonderboymusic                     |       Owner:
     Type:  enhancement                        |      Status:  new
 Priority:  normal                             |   Milestone:  3.6
Component:  Post Formats                       |     Version:
 Severity:  normal                             |  Resolution:
 Keywords:  needs-unit-tests has-patch commit  |
-----------------------------------------------+------------------

Comment (by markjaquith):

 So there's some strange behavior here. The `wp_video_shortcode()` has a
 `printf()`. Paste in a YouTube URL and `setup_postdata()` will echo a link
 onto the page. Huh?

 Seems like it's checking for a local URL before it's checking for an
 OEmbed capable URL.

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


More information about the wp-trac mailing list