if (bp_has_comments()) { ?> <ul id="comment-list" class="item-list"> <?php while (bp_comments()) { bp_the_comment(); ?> <li id="comment-<?php bp_comment_id(); ?> "> <span class="small"> <?php printf(__('On %1$s %2$s said:', 'buddypress'), bp_comment_date(__('F jS, Y', 'buddypress'), false), bp_get_comment_author()); ?> </span> <p><?php bp_comment_content(); ?> </p> <span class="small"> <?php printf(__('Commented on the post <a href="%1$s">%2$s</a> on the blog <a href="%3$s">%4$s</a>.', 'buddypress'), bp_get_comment_post_permalink(), bp_get_comment_post_title(), bp_get_comment_blog_permalink(), bp_get_comment_blog_name()); ?> </span> </li>
function bp_comment_author($deprecated = true) { global $comments_template; if (!$deprecated) { return bp_get_comment_author(); } else { echo bp_get_comment_author(); } }