Home › Forums › Inside › This WordPress Site › All ' and " get replaced by ' and " › Re: All ' and ” get replaced by ' and “
2011-02-17 at 02:35 #2351
This line of code definitely causes the problem that described on Internet as:
“all apostrophes and quotation marks are prefixed with backslashes”.
I liked the solution with writing a new plugin with this code in it:
/* Plugin Name: Strip Slashes */
add_filter('pre_topic_title', 'stripslashes', 40);
add_filter('pre_post', 'stripslashes', 40);
add_filter('bb_add_topic_tags', 'stripslashes', 40);
Does it work? – Yes!