[wp-hackers] trimming oembed results

Otto otto at ottodestruct.com
Wed Jul 25 17:56:37 UTC 2012


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


More information about the wp-hackers mailing list