Changeset 4263
- Timestamp:
- 04/23/2011 07:14:09 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-screens.php
r4088 r4263 75 75 if ( !bp_is_activity_component() ) 76 76 return false; 77 78 // No current action or not a specific activity item 79 if ( !bp_current_action() || !bp_is_current_action( 'p' ) || !isset( $bp->action_variables['0'] ) ) 80 return false; 81 82 // RE-jig the action and action variables 83 $bp->current_action = $bp->action_variables['0']; 84 unset( $bp->action_variables['0'] ); 85 77 78 if ( empty( $bp->current_action ) || !is_numeric( $bp->current_action ) ) 79 return false; 80 86 81 // Get the activity details 87 82 $activity = bp_activity_get_specific( array( 'activity_ids' => bp_current_action() ) );
Note: See TracChangeset
for help on using the changeset viewer.