Codex tools: Log in
Contents |
Changes the incorrect capitalization of Wordpress into WordPress.
WordPress uses it to filter the content, the title and comment text.
<?php capital_P_dangit( $text ); ?>
If you prefer not to use these filters, here's how you can remove them:
remove_filter( 'the_title', 'capital_P_dangit', 11 ); remove_filter( 'the_content', 'capital_P_dangit', 11 ); remove_filter( 'comment_text', 'capital_P_dangit', 31 );
capital_P_dangit() is located in wp-includes/formatting.php on line 3201.