[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:26:21 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):
Replying to [comment:21 obenland]:
> Sorry, I didn't make myself clear: I meant, if remove == true, remove
from content so `the_content()` works, unless a content to remove it from
was passed.
+1
So if no content string passed as an argument (which would be the case for
a filter) the core function should remove it from the globally scoped
{{{$post}}} object (the current post's content)?
Also: should these functions check for being in a post format?
{{{has_post_format( 'video' )}}} before executing? Does that matter?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23572#comment:22>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list