Matt Mullenweg is one of the founders of WordPress (thanks!) and back in 2010 he committed a new piece of code to correct automatically every single “Wordpress”, without a capital P, to “WordPress“, with a capital P. This automatic correction is commonly known as the Capital P Dangit filter.
Although that is a very nice initiative, it was not discussed with the community whether the “WordPress” word should be auto-corrected or not.

If you prefer full editorial control over capitalization, you can disable this filter. The performance impact of leaving it enabled is negligible, as capital_P_dangit() is a simple string replacement applied in a few contexts. But since we are here to improve the speed of your WordPress, disabling the filter is still better than leaving it enabled.
To do this, first open the “functions.php” file of your theme. You should use an FTP client like Filezilla or log in to your hosting control panel and use their file manager. The file will be located in the path “/wp-content/themes/your-theme/”.
Once you can edit the file, add the following at the end of the file:
/* Remove Capital P Dangit everywhere */
remove_filter( 'the_title', 'capital_P_dangit', 11 );
remove_filter( 'the_content', 'capital_P_dangit', 11 );
remove_filter( 'comment_text', 'capital_P_dangit', 31 );
remove_filter( 'document_title', 'capital_P_dangit', 11 );
remove_filter( 'widget_text_content', 'capital_P_dangit', 11 );
Save the file and you are done!





