Skip to:
Content

BuddyPress.org

Ticket #6276: buddypress.patch

File buddypress.patch, 936 bytes (added by gregrickaby, 11 years ago)
  • src/bp-templates/bp-legacy/buddypress/activity/activity-loop.php

     
    88
    99        <?php endif; ?>
    1010
    11         <?php while ( bp_activities() ) : bp_the_activity(); ?>
     11        <?php if ( bp_activities() ) : ?>
    1212
    13                 <?php bp_get_template_part( 'activity/entry' ); ?>
     13                <?php while ( bp_activities() ) : bp_the_activity(); ?>
    1414
    15         <?php endwhile; ?>
     15                        <?php bp_get_template_part( 'activity/entry' ); ?>
    1616
     17                <?php endwhile; ?>
     18
     19        <?php else : ?>
     20
     21                <div id="message" class="info">
     22                        <p><?php _e( 'Sorry, there was no activity found. Please try a different filter.', 'buddypress' ); ?></p>
     23                </div>
     24
     25        <?php endif; ?>
     26
    1727        <?php if ( bp_activity_has_more_items() ) : ?>
    1828
    1929                <li class="load-more">