I’ve recently installed the TinyMCE Advanced plugin and when I tried to set properties for my titles, I got something like this:
<h3 class="\"test-class\""> instead of
<h3 class="test-class"> so I asked google about it.
I’ve got the following solution, to strip slashes from all the posts:
add_filter('the_content', 'my_strip_slashes');
function my_strip_slashes($content)
{
return stripslashes($content);
}
Place the code above in your functions.php file and your problems are solved. No more headaches.
