WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/27/2010 04:11:27 PM (11 years ago)
Author:
nacin
Message:

Forever eliminate 'Wordpress' from the planet (or at least the little bit we can influence). props matt.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/default-filters.php

    r14826 r14996  
    8686    add_filter( $filter, 'esc_html'      );
    8787}
     88
     89// Format WordPress
     90foreach ( array( 'the_content', 'the_title', 'comment_text' ) as $filter )
     91    add_filter( $filter, 'capital_P_dangit' );
    8892
    8993// Format titles
     
    248252add_action( 'admin_init', 'register_admin_color_schemes', 1);
    249253add_action( 'admin_color_scheme_picker', 'admin_color_scheme_picker' );
     254
     255?>
Note: See TracChangeset for help on using the changeset viewer.