Last active
December 12, 2015 00:18
-
-
Save enigmaticape/4682690 to your computer and use it in GitHub Desktop.
The smallest possible Wordpress Plugin. To disable smart quotes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: FU Smart Quotes | |
Plugin URI: https://gist.github.com/4682690 | |
Description: Disable smart quotes | |
Version: 1.0 | |
Author: Steve Trewick | |
Author URI: http://www.enigmaticape.com/blog/the-smallest-possible-wordpress-plugin/ | |
License: Public Domain | |
*/ | |
/* F*** you, smart quotes */ | |
remove_filter('the_content', 'wptexturize'); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Originally posted at http://www.enigmaticape.com/blog/the-smallest-possible-wordpress-plugin/