Upgrading is Fun

A kind soul emailed me this morning to inform me that that my project demonstrations were broken.  It appears that my upgrade to the latest version of wordpress jacked them up slightly.  I traced the problem down to the wptexturize() function.  It was making pretty quotes out of some embedded javascript in the pages that make the demos work.  I added "remove_filter('the_content', 'wptexturize');" to my theme's functions.php file and all is well. This line just removes the pretty formatting from all of my posts.  Since I post code on here from time to time, I imagine that would make things hard to copy/paste anyway. 

No comments yet. Be the first.

Leave a reply