[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
Tue Mar 26 17:16:05 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 lancewillett):
I agree with your order of precedence, and for these wrapper functions I'd
argue that "removing from content" should be the default behavior. Theme
can call {{{the_video()}}} once and get back the HTML output for that
video item -- and the post content should be automatically filtered
without having to change {{{the_content()}}} call in that same template.
I'd love to start off with:
- {{{the_video()}}}
- {{{the_audio()}}}
- {{{the_image()}}}
Those are the most common use cases for media-related post formats.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23572#comment:20>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list