How to Remove the Capital “P” Function From WordPress 3.0

For a full explanation of the issue, check out Justin Tadlock’s article.

You can either install the Remove WordPress to WordPress Filter plugin or add the below code to your theme’s functions.php file.

remove_filter( 'the_content', 'capital_P_dangit' );
remove_filter( 'the_title', 'capital_P_dangit' );
remove_filter( 'comment_text', 'capital_P_dangit' );

Tagged with:

Leave a Comment

Please keep in mind that comments are moderated and rel="nofollow" is in use. So, please do not use a spammy keyword or a domain as your name, or it will be deleted. Let us have a personal and meaningful conversation instead.