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
This commit is contained in:
Andrew Nacin 2010-05-16 06:26:18 +00:00
parent 5f287dcb6d
commit 9cd335bdcd
2 changed files with 6 additions and 7 deletions

View File

@ -17,10 +17,9 @@
printf( __( 'Category Archives: %s', 'twentyten' ), '<span>' . single_cat_title( '', false ) . '</span>' );
?></h1>
<?php
$categorydesc = category_description();
if ( ! empty( $categorydesc ) ) {
echo apply_filters( 'archive_meta', '<div class="archive-meta">' . $categorydesc . '</div>' );
}
$category_description = category_description();
if ( ! empty( $category_description ) )
echo '<div class="archive-meta">' . $categorydesc . '</div>';
?>
<?php

View File

@ -29,10 +29,10 @@
<?php if ( have_comments() ) : ?>
<h3 id="comments-title">
<?php
printf( _n( 'One Response to %2$s', '%1$s Responses to %2$s', get_comments_number(), 'twentyten' ),
number_format_i18n( get_comments_number() ), '<em>' . get_the_title() . '</em>' );
printf( _n( 'One Response to %2$s', '%1$s Responses to %2$s', get_comments_number(), 'twentyten' ),
number_format_i18n( get_comments_number() ), '<em>' . get_the_title() . '</em>' );
?>
</h3>
</h3>
<?php if ( get_comment_pages_count() > 1 ) : // are there comments to navigate through ?>
<div class="navigation">