Ticket #5524: 5524.diff
| File 5524.diff, 1009 bytes (added by , 12 years ago) |
|---|
-
bp-notifications/bp-notifications-actions.php
59 59 */ 60 60 function bp_notifications_action_mark_unread() { 61 61 62 // Bail if not the unread screen62 // Bail if not the read screen 63 63 if ( ! bp_is_notifications_component() || ! bp_is_current_action( 'read' ) ) { 64 64 return false; 65 65 } … … 87 87 add_action( 'bp_actions', 'bp_notifications_action_mark_unread' ); 88 88 89 89 /** 90 * Handle marking single notifications as unread90 * Handle deleting single notifications 91 91 * 92 92 * @since BuddyPress (1.9.0) 93 93 * … … 95 95 */ 96 96 function bp_notifications_action_delete() { 97 97 98 // Bail if not the unread screen98 // Bail if not the read or unread screen 99 99 if ( ! bp_is_notifications_component() || ! ( bp_is_current_action( 'read' ) || bp_is_current_action( 'unread' ) ) ) { 100 100 return false; 101 101 }
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)