Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/25/2011 12:29:19 AM (15 years ago)
Author:
boonebgorges
Message:

Global/slug audit in Core and Activity components. Fixes #3325

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-template.php

    r4819 r4847  
    275275        $scope = $bp->active_components[$bp->current_action];
    276276    else
    277         $scope = $bp->current_action;
     277        $scope = bp_current_action();
    278278
    279279    // Support for permalinks on single item pages: /groups/my-group/activity/124/
    280280    if ( bp_is_current_action( bp_get_activity_slug() ) )
    281         $include = $bp->action_variables[0];
    282 
     281        $include = bp_action_variable( 0 );
     282       
    283283    // Note: any params used for filtering can be a single value, or multiple values comma separated.
    284284    $defaults = array(
Note: See TracChangeset for help on using the changeset viewer.