[wp-hackers] trimming oembed results

Chris McCoy chris at lod.com
Wed Jul 25 18:25:35 UTC 2012


Im actually returning a shortcode its an html5 audio player shortcode, and
im passing it on to the handler for mp3 links in posts.

-----Original Message-----
From: wp-hackers-bounces at lists.automattic.com
[mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of Otto
Sent: Wednesday, July 25, 2012 1:57 PM
To: wp-hackers at lists.automattic.com
Subject: Re: [wp-hackers] trimming oembed results

What's your code look like? oembed doesn't add P's and such, but wpautop
might be adding it later.

-Otto


On Wed, Jul 25, 2012 at 12:53 PM, Chris McCoy <chris at lod.com> wrote:
> Ive created a handler for an oembed, but it seems its adding <p> and 
> <br/>'s anyway to trim this before sending to the apply_filters?
>
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
wp-hackers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list