Changeset 4519
- Timestamp:
- 06/15/2011 09:00:32 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
bp-activity/bp-activity-actions.php (modified) (1 diff)
-
bp-activity/bp-activity-screens.php (modified) (1 diff)
-
bp-themes/bp-default/members/single/activity/permalink.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-actions.php
r4517 r4519 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 // 404 if activity does not exist -
trunk/bp-activity/bp-activity-screens.php
r4506 r4519 94 94 95 95 // Get the activity details 96 $activity = bp_activity_get_specific( array( 'activity_ids' => bp_current_action() ) );96 $activity = bp_activity_get_specific( array( 'activity_ids' => bp_current_action(), 'show_hidden' => true ) ); 97 97 98 98 // 404 if activity does not exist 99 if ( !$activity = $activity['activities'][0]) {99 if ( empty( $activity['activities'][0] ) || !empty( $bp->action_variables ) ) { 100 100 bp_do_404(); 101 101 return; 102 } 103 104 if ( !empty( $bp->action_variables ) ) { 105 bp_do_404(); 106 return; 102 103 } else { 104 $activity = $activity['activities'][0]; 105 if ( empty( $activity ) ) { 106 bp_do_404(); 107 return; 108 } 107 109 } 108 110 -
trunk/bp-themes/bp-default/members/single/activity/permalink.php
r4347 r4519 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">
Note: See TracChangeset
for help on using the changeset viewer.