From f67cae286dae4f9bb93d40f0564a852af976c167 Mon Sep 17 00:00:00 2001 From: markjaquith Date: Wed, 20 Oct 2010 22:44:15 +0000 Subject: [PATCH] Push capital P filter back behind the wpautop one to catch Wordpress after opening HTML tag git-svn-id: http://svn.automattic.com/wordpress/trunk@15877 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/default-filters.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/default-filters.php b/wp-includes/default-filters.php index 3a7c22e06..7ebff817a 100644 --- a/wp-includes/default-filters.php +++ b/wp-includes/default-filters.php @@ -95,8 +95,9 @@ foreach ( array( 'comment_author', 'term_name', 'link_name', 'link_description', } // Format WordPress -foreach ( array( 'the_content', 'the_title', 'comment_text' ) as $filter ) +foreach ( array( 'the_content', 'the_title' ) as $filter ) add_filter( $filter, 'capital_P_dangit', 11 ); +add_filter( 'comment_text', 'capital_P_dangit', 31 ); // Format titles foreach ( array( 'single_post_title', 'single_cat_title', 'single_tag_title', 'single_month_title', 'nav_menu_attr_title', 'nav_menu_description' ) as $filter ) {