WordPress.org

Make WordPress Core

Changeset 15209


Ignore:
Timestamp:
06/11/10 02:17:26 (4 years ago)
Author:
iammattthomas
Message:

Avoid displaying custom comment types as pingbacks/trackbacks in Twenty Ten. Fixes #13812. Props jdub.

File:
1 edited

Legend:

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

    r15195 r15209  
    379379    </div><!-- #comment-##  --> 
    380380 
    381     <?php else : ?> 
     381    <?php elseif ( in_array($comment->comment_type, array('pingback', 'trackback')) ) : ?> 
    382382    <li class="post pingback"> 
    383383        <p><?php _e( 'Pingback:', 'twentyten' ); ?> <?php comment_author_link(); ?><?php edit_comment_link( __('(Edit)', 'twentyten'), ' ' ); ?></p> 
Note: See TracChangeset for help on using the changeset viewer.