Changeset 4961 for trunk/bp-activity/bp-activity-screens.php
- Timestamp:
- 08/10/2011 06:32:02 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-screens.php
r4907 r4961 79 79 * @uses bp_is_my_profile() 80 80 */ 81 function bp_activity_reset_my_new_mentions() { 81 function bp_activity_reset_my_new_mentions() { 82 82 if ( bp_is_my_profile() ) 83 83 bp_activity_clear_new_mentions( bp_loggedin_user_id() ); … … 91 91 if ( !bp_is_activity_component() ) 92 92 return false; 93 94 if ( empty( $bp->current_action ) || !is_numeric( $bp->current_action ) ) 95 return false; 96 93 94 if ( empty( $bp->current_action ) || !is_numeric( $bp->current_action ) ) 95 return false; 96 97 97 // Get the activity details 98 98 $activity = bp_activity_get_specific( array( 'activity_ids' => bp_current_action(), 'show_hidden' => true ) );
Note: See TracChangeset
for help on using the changeset viewer.