Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/08/2011 02:25:44 PM (14 years ago)
Author:
boonebgorges
Message:

Backports r4519 to the 1.2 branch so that private/hidden group activity permalinks display their content correctly. Fixes #3210. Props r-a-y

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-activity.php

    r4111 r4626  
    224224
    225225    /* Get the activity details */
    226     $activity = bp_activity_get_specific( array( 'activity_ids' => $bp->current_action ) );
     226    $activity = bp_activity_get_specific( array( 'activity_ids' => $bp->current_action, 'show_hidden' => true ) );
    227227
    228228    if ( !$activity = $activity['activities'][0] )
     
    313313
    314314    /* Get the activity details */
    315     $activity = bp_activity_get_specific( array( 'activity_ids' => $bp->action_variables[0] ) );
     315    $activity = bp_activity_get_specific( array( 'activity_ids' => $bp->action_variables[0], 'show_hidden' => true ) );
    316316
    317317    if ( !$activity = $activity['activities'][0] )
Note: See TracChangeset for help on using the changeset viewer.