Ticket #3210: 3210.01.patch
File 3210.01.patch, 1.7 KB (added by , 14 years ago) |
---|
-
buddypress/bp-activity/bp-activity-actions.php
24 24 return false; 25 25 26 26 // Get the activity details 27 $activity = bp_activity_get_specific( array( 'activity_ids' => $bp->action_variables[0] ) );27 $activity = bp_activity_get_specific( array( 'activity_ids' => $bp->action_variables[0], 'show_hidden' => true ) ); 28 28 29 29 // Redirect to root if activity does not exist 30 30 if ( !$activity = $activity['activities'][0] ) -
buddypress/bp-activity/bp-activity-screens.php
79 79 return false; 80 80 81 81 // Get the activity details 82 $activity = bp_activity_get_specific( array( 'activity_ids' => bp_current_action() ) );82 $activity = bp_activity_get_specific( array( 'activity_ids' => bp_current_action(), 'show_hidden' => true ) ); 83 83 84 84 if ( !$activity = $activity['activities'][0] ) 85 85 bp_core_redirect( bp_get_root_domain() ); -
buddypress/bp-themes/bp-default/members/single/activity/permalink.php
1 1 <?php get_header() ?> 2 2 3 3 <div class="activity no-ajax" role="main"> 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() ) ) : ?> 5 5 6 6 <ul id="activity-stream" class="activity-list item-list"> 7 7 <?php while ( bp_activities() ) : bp_the_activity(); ?>