From 9cd335bdcdaef508d4bfcb6f822fad02d8a12b2f Mon Sep 17 00:00:00 2001 From: Andrew 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: https://develop.svn.wordpress.org/trunk@14688 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 c6a2977dea..370c3929a3 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 ?>