Skip to:
Content

BuddyPress.org

Ticket #2293: hide_private_hidden_activity_from_friends.patch

File hide_private_hidden_activity_from_friends.patch, 546 bytes (added by boonebgorges, 14 years ago)
  • bp-activity/bp-activity-templatetags.php

     
    196196
    197197                // are we displaying user specific activity?
    198198                if ( is_numeric( $user_id ) ) {
    199                         $show_hidden = ( $user_id == $bp->loggedin_user->id ) ? 1 : 0;
     199                        $show_hidden = ( $user_id == $bp->loggedin_user->id && $scope != 'friends' ) ? 1 : 0;
    200200
    201201                        switch ( $scope ) {
    202202                                case 'friends':