[wp-hackers] Issues with wpautop and my plugin

Viper007Bond lists at viper007bond.com
Sat Aug 5 06:03:19 GMT 2006


Yes, but then my quotes get turned into fancy quotes and such. Is the 
best solution to have a priority of 50 and then search for my WordPress 
formatted version of my placeholder?

Mark Jaquith wrote:
> 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
> http://txfx.net/
> 
> 
> _______________________________________________
> 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