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-blogs/bp-blogs-templatetags.php

    r3511 r3616  
    8484            return true;
    8585        } elseif ( $this->current_blog + 1 == $this->blog_count ) {
    86             do_action('loop_end');
     86            do_action('blog_loop_end');
    8787            // Do some cleaning up after the loop
    8888            $this->rewind_blogs();
     
    100100
    101101        if ( 0 == $this->current_blog ) // loop has just started
    102             do_action('loop_start');
     102            do_action('blog_loop_start');
    103103    }
    104104}
Note: See TracChangeset for help on using the changeset viewer.