Skip to:
Content

BuddyPress.org

Changeset 4626


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

Location:
branches/1.2
Files:
2 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] )
  • branches/1.2/bp-themes/bp-default/members/single/activity/permalink.php

    r2170 r4626  
    22
    33<div class="activity no-ajax">
    4     <?php if ( bp_has_activities( 'display_comments=threaded&include=' . bp_current_action() ) ) : ?>
     4    <?php if ( bp_has_activities( 'display_comments=threaded&show_hidden=true&include=' . bp_current_action() ) ) : ?>
    55
    66        <ul id="activity-stream" class="activity-list item-list">
Note: See TracChangeset for help on using the changeset viewer.