Horje
How to Remove "Wordpress" to "WordPress" filter

There was a filter added with WordPress version 3.0 that automatically converts all instances of "Wordpress" (no capital P) to "WordPress" (with a capital P) in post content, post titles, and comment text. Some people see this as intrusive, but I just have a need to mis-case WordPress from time to time and found the filter somewhat annoying.


Remove "Wordpress" to "WordPress" filter

Just copy and paste following codes to yourdomain.com/wp-content/themes/activated-theme/fucntions.php in the most below.
Example: PHP
// Remove annoying P filter
if(function_exists('capital_P_dangit')) {
    foreach ( array( 'the_content', 'the_title' ) as $filter )
        remove_filter( $filter, 'capital_P_dangit', 11 );

    remove_filter('comment_text', 'capital_P_dangit', 31 );
}





Related Articles
How to Enable Hidden Administration Feature displaying All Site Settings Wordpress Administration Shortcode
How to change the Login Logo & Image URL Link Wordpress Administration Shortcode
How to Remove Update Notification for all users except ADMIN User Wordpress Administration Shortcode
How to Remove Default WordPress Meta Boxes Wordpress Administration Shortcode
How to Remove "Wordpress" to "WordPress" filter Wordpress Administration Shortcode
How to Customize the order of the administration menu Wordpress Administration Shortcode
How to Add Thumbnails in Manage Posts/Pages List Wordpress Administration Shortcode

Single Articles
Remove "Wordpress" to "WordPress" filterWordpress Administration Shortcode

Read Full:
Wordpress Administration Shortcode
Category:
Web Tutorial
Sub Category:
Wordpress Administration Shortcode
Uploaded:
1 year ago
Uploaded by:
Admin
Views:
70
Tested on:
WordPress 3.0.1



Share on: