Changeset 4367 for trunk/bp-activity/bp-activity-screens.php
- Timestamp:
- 05/15/2011 10:40:03 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/bp-activity/bp-activity-screens.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-screens.php
r4287 r4367 68 68 add_action( 'bp_activity_screen_single_activity_permalink', 'bp_activity_remove_screen_notifications' ); 69 69 add_action( 'bp_activity_screen_mentions', 'bp_activity_remove_screen_notifications' ); 70 71 /** 72 * Reset the logged-in user's new mentions data when he visits his mentions screen 73 * 74 * @package BuddyPress Activity 75 * @since 1.3 76 * @uses bp_activity_clear_new_mentions() 77 * @uses bp_is_my_profile() 78 */ 79 function bp_activity_reset_my_new_mentions() { 80 if ( bp_is_my_profile() ) 81 bp_activity_clear_new_mentions( bp_loggedin_user_id() ); 82 } 83 add_action( 'bp_activity_screen_mentions', 'bp_activity_reset_my_new_mentions' ); 70 84 71 85 function bp_activity_screen_single_activity_permalink() {
Note: See TracChangeset
for help on using the changeset viewer.