[wp-hackers] trimming oembed results

Rich Pedley elfin at elfden.co.uk
Wed Jul 25 20:43:19 UTC 2012


On 25/07/2012 18:56, Otto wrote:
> 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?

I have come across a few issues with this recently - tracked it down 
to it being from a plugin/theme implementing a different version of 
jQuery.

Rich



More information about the wp-hackers mailing list