Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/30/2010 04:34:05 PM (14 years ago)
Author:
boonebgorges
Message:

Changes loop_start/loop_end actions to be component-specific. Fixes #2981. Props r-a-y

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-templatetags.php

    r3610 r3616  
    8787            return true;
    8888        } elseif ( $this->current_member + 1 == $this->member_count ) {
    89             do_action('loop_end');
     89            do_action('member_loop_end');
    9090            // Do some cleaning up after the loop
    9191            $this->rewind_members();
     
    103103
    104104        if ( 0 == $this->current_member ) // loop has just started
    105             do_action('loop_start');
     105            do_action('member_loop_start');
    106106    }
    107107}
Note: See TracChangeset for help on using the changeset viewer.