Skip to:
Content

BuddyPress.org

Changeset 4691


Ignore:
Timestamp:
07/18/2011 09:05:00 AM (14 years ago)
Author:
johnjamesjacoby
Message:

Skip activity-comments if there is no reason to display it.

File:
1 edited

Legend:

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

    r4689 r4691  
    8989    <?php do_action( 'bp_before_activity_entry_comments' ); ?>
    9090
    91     <?php if ( bp_activity_can_comment() ) : ?>
     91    <?php if ( ( is_user_logged_in() && bp_activity_can_comment() ) || bp_activity_comment_count() ) : ?>
    9292
    9393        <div class="activity-comments">
Note: See TracChangeset for help on using the changeset viewer.