Changeset 8261
- Timestamp:
- 04/09/2014 01:12:53 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-notifications/bp-notifications-actions.php
r7543 r8261 16 16 17 17 /** 18 * Handle marking single notifications as read 18 * Handle marking single notifications as read. 19 19 * 20 20 * @since BuddyPress (1.9.0) … … 52 52 53 53 /** 54 * Handle marking single notifications as unread 54 * Handle marking single notifications as unread. 55 55 * 56 56 * @since BuddyPress (1.9.0) … … 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; … … 88 88 89 89 /** 90 * Handle marking single notifications as unread90 * Handle deleting single notifications. 91 91 * 92 92 * @since BuddyPress (1.9.0) … … 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;
Note: See TracChangeset
for help on using the changeset viewer.