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
This commit is contained in:
nacin 2010-05-16 06:26:18 +00:00
parent 2f7f75511b
commit 61725ced93
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>' ); printf( __( 'Category Archives: %s', 'twentyten' ), '<span>' . single_cat_title( '', false ) . '</span>' );
?></h1> ?></h1>
<?php <?php
$categorydesc = category_description(); $category_description = category_description();
if ( ! empty( $categorydesc ) ) { if ( ! empty( $category_description ) )
echo apply_filters( 'archive_meta', '<div class="archive-meta">' . $categorydesc . '</div>' ); echo '<div class="archive-meta">' . $categorydesc . '</div>';
}
?> ?>
<?php <?php

View File

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