Skip to:
Content

BuddyPress.org

Ticket #3210: 3210.01.patch

File 3210.01.patch, 1.7 KB (added by r-a-y, 14 years ago)
  • buddypress/bp-activity/bp-activity-actions.php

     
    2424                return false;
    2525
    2626        // 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 ) );
    2828
    2929        // Redirect to root if activity does not exist
    3030        if ( !$activity = $activity['activities'][0] )
  • buddypress/bp-activity/bp-activity-screens.php

     
    7979                return false;
    8080       
    8181        // 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 ) );
    8383
    8484        if ( !$activity = $activity['activities'][0] )
    8585                bp_core_redirect( bp_get_root_domain() );
  • buddypress/bp-themes/bp-default/members/single/activity/permalink.php

     
    11<?php get_header() ?>
    22
    33<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() ) ) : ?>
    55
    66                <ul id="activity-stream" class="activity-list item-list">
    77                <?php while ( bp_activities() ) : bp_the_activity(); ?>