Make WordPress Core

Changeset 14688


Ignore:
Timestamp:
05/16/2010 06:26:18 AM (15 years ago)
Author:
nacin
Message:

Remove unnecessary and out-of-place Twenty Ten filter. Also, tabs not spaces. see #13198.

Location:
trunk/wp-content/themes/twentyten
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyten/category.php

    r14549 r14688  
    1818                ?></h1>
    1919                <?php
    20                     $categorydesc = category_description();
    21                     if ( ! empty( $categorydesc ) ) {
    22                         echo apply_filters( 'archive_meta', '<div class="archive-meta">' . $categorydesc . '</div>' );
    23                     }
     20                    $category_description = category_description();
     21                    if ( ! empty( $category_description ) )
     22                        echo '<div class="archive-meta">' . $categorydesc . '</div>';
    2423                ?>
    2524
  • trunk/wp-content/themes/twentyten/comments.php

    r14433 r14688  
    3030            <h3 id="comments-title">
    3131<?php
    32     printf( _n( 'One Response to %2$s', '%1$s Responses to %2$s', get_comments_number(), 'twentyten' ),
    33         number_format_i18n( get_comments_number() ), '<em>' . get_the_title() . '</em>' );
     32            printf( _n( 'One Response to %2$s', '%1$s Responses to %2$s', get_comments_number(), 'twentyten' ),
     33            number_format_i18n( get_comments_number() ), '<em>' . get_the_title() . '</em>' );
    3434?>
    35             </h3>
     35            </h3>
    3636
    3737<?php if ( get_comment_pages_count() > 1 ) : // are there comments to navigate through ?>
Note: See TracChangeset for help on using the changeset viewer.