[wp-hackers] Issues with wpautop and my plugin

Mark Jaquith mark.wordpress at txfx.net
Fri Aug 4 23:26:36 GMT 2006

On Aug 3, 2006, at 4:57 AM, Viper007Bond wrote:

> How can I stop those line breaks from being added? Should I like  
> use some regex to get rid of them?

I believe that wpautop() hooks in at priority 10.  So all you have to  
do is know that AFTER 10, wpautop() won't mess with it.  So just  
change your filter's priority to be something like 50.  Beats having  
to do cleanup after wpautop() mangles it.

Mark Jaquith

More information about the wp-hackers mailing list