From 61725ced93a5b657d8f3977492b4d3df2400def3 Mon Sep 17 00:00:00 2001 From: nacin Date: Sun, 16 May 2010 06:26:18 +0000 Subject: [PATCH] Remove unnecessary and out-of-place Twenty Ten filter. Also, tabs not spaces. see #13198. git-svn-id: http://svn.automattic.com/wordpress/trunk@14688 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyten/category.php | 7 +++---- wp-content/themes/twentyten/comments.php | 6 +++--- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/wp-content/themes/twentyten/category.php b/wp-content/themes/twentyten/category.php index c6a2977de..370c3929a 100644 --- a/wp-content/themes/twentyten/category.php +++ b/wp-content/themes/twentyten/category.php @@ -17,10 +17,9 @@ printf( __( 'Category Archives: %s', 'twentyten' ), '' . single_cat_title( '', false ) . '' ); ?> ' . $categorydesc . '' ); - } + $category_description = category_description(); + if ( ! empty( $category_description ) ) + echo '
' . $categorydesc . '
'; ?>

' . get_the_title() . '' ); + printf( _n( 'One Response to %2$s', '%1$s Responses to %2$s', get_comments_number(), 'twentyten' ), + number_format_i18n( get_comments_number() ), '' . get_the_title() . '' ); ?> -

+ 1 ) : // are there comments to navigate through ?>