Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/01/2010 05:06:20 PM (16 years ago)
Author:
apeatling
Message:

Further tweaks to the comment listing functions in bp-default.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/functions.php

    r2527 r2528  
    6363    $GLOBALS['comment'] = $comment; ?>
    6464
    65     <li <?php comment_class(); ?> id="comment-<?php comment_ID(); ?>">
     65    <li id="comment-<?php comment_ID(); ?>">
    6666        <div class="comment-avatar-box">
    6767            <div class="avb">
    6868                <a href="<?php echo get_comment_author_url() ?>">
    69                     <?php echo get_avatar( $comment, 50 ); ?>
     69                    <?php echo bp_core_fetch_avatar( array( 'item_id' => $comment->user_id, 'width' => 50, 'height' => 50, 'email' => $comment->comment_author_email ) ); ?>
    7070                </a>
    7171            </div>
     
    7979            </div>
    8080
    81             <?php if ($comment->comment_approved == '0') : ?>
     81            <?php if ( $comment->comment_approved == '0' ) : ?>
    8282                <em class="moderate"><?php _e('Your comment is awaiting moderation.'); ?></em><br />
    8383            <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.