Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/25/2011 12:01:55 AM (14 years ago)
Author:
boonebgorges
Message:

Global/slug audit for groups component. Also regularizes the way that some group forum actions are concatenated. See #3325

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-loader.php

    r4823 r4844  
    9797            // When in a single group, the first action is bumped down one because of the
    9898            // group name, so we need to adjust this and set the group name to current_item.
    99             $bp->current_item   = isset( $bp->current_action )      ? $bp->current_action      : false;
    100             $bp->current_action = isset( $bp->action_variables[0] ) ? $bp->action_variables[0] : false;
     99            $bp->current_item   = bp_current_action();
     100            $bp->current_action = bp_action_variable( 0 );
    101101            array_shift( $bp->action_variables );
    102102
Note: See TracChangeset for help on using the changeset viewer.