[wp-hackers] Re: wptexturize in format_to_post results in errors

Mathias Bynens mathibus at gmail.com
Wed Feb 2 14:52:19 GMT 2005


There is in fact a WPUntexturize plugin, but I don't see what would be
the use in that in this case?
http://www.coffee2code.com/archives/2004/06/27/plugin-wpuntexturize/


On Tue, 4 Jan 2005 09:29:39 +0100, Mathias Bynens <mathibus at gmail.com> wrote:
> Try it.
> 
> add_filter('format_to_post', 'wptexturize');
> 
> Then write a test post or comment with quotes etc. You could use this
> test message:
> 
> Blah "blah" blah 'blah' blah.
> 
> All quotes will be converted into their ending equivalent, e.g.
> 
> Blah &#8221;blah&#8221; blah &#8217;blah&#8217; blah.
> 
> instead of
> 
> Blah &#8220;blah&#8221; blah &#8216;blah&#8217; blah.
> 
> All this works perfectly if wptexturize isn't set as a format_to_post
> filter (try http://photomatt.net/tools/texturize/), so the function's
> fine, but when it is used as such a filter, things go wrong. :(
> 
> I'd love to get this fixed, as I'm now storing all my comments and
> posts with filters enabled, in order to decrement page loading times.
> (So far, it has worked, as you can read my site's page footer.)
> --
> Mathias Bynens aka MaThIbUs
> http://mathibus.com/
> 


-- 
Mathias Bynens aka MaThIbUs
http://mathibus.com/


More information about the hackers mailing list