Changeset 2910 for trunk/bp-activity/bp-activity-templatetags.php
- Timestamp:
- 04/09/2010 05:45:01 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-templatetags.php
r2822 r2910 191 191 $display_comments = 'stream'; 192 192 193 if ( $user_id = ( !empty( $bp->displayed_user->id ) ) ? $bp->displayed_user->id : $bp->loggedin_user->id ) { 193 // determine which user_id applies 194 if ( empty( $user_id ) ) 195 $user_id = ( !empty( $bp->displayed_user->id ) ) ? $bp->displayed_user->id : $bp->loggedin_user->id; 196 197 // are we displaying user specific activity? 198 if ( is_numeric( $user_id ) ) { 194 199 $show_hidden = ( $user_id == $bp->loggedin_user->id ) ? 1 : 0; 195 200
Note: See TracChangeset
for help on using the changeset viewer.