Changeset 14996
- Timestamp:
- 05/27/2010 04:11:27 PM (15 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/default-filters.php
r14826 r14996 86 86 add_filter( $filter, 'esc_html' ); 87 87 } 88 89 // Format WordPress 90 foreach ( array( 'the_content', 'the_title', 'comment_text' ) as $filter ) 91 add_filter( $filter, 'capital_P_dangit' ); 88 92 89 93 // Format titles … … 248 252 add_action( 'admin_init', 'register_admin_color_schemes', 1); 249 253 add_action( 'admin_color_scheme_picker', 'admin_color_scheme_picker' ); 254 255 ?> -
trunk/wp-includes/formatting.php
r14766 r14996 2818 2818 } 2819 2819 2820 /** 2821 * Forever eliminate "Wordpress" from the planet (or at least the little bit we can influence). 2822 * 2823 * Violating our coding standards for a good function name. 2824 * 2825 * @since 3.0.0 2826 */ 2827 function capital_P_dangit( $text ) { 2828 return str_replace( 'Wordpress', 'WordPress', $text ); 2829 } 2830 2820 2831 ?>
Note: See TracChangeset
for help on using the changeset viewer.