Changeset 13034 for trunk/src/bp-notifications/actions/bulk-manage.php
- Timestamp:
- 08/09/2021 10:00:02 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-notifications/actions/bulk-manage.php
r11933 r13034 64 64 } 65 65 66 // URL to redirect to. 67 if ( bp_is_current_action( 'unread' ) ) { 68 $redirect = bp_get_notifications_unread_permalink( bp_displayed_user_id() ); 69 } elseif ( bp_is_current_action( 'read' ) ) { 70 $redirect = bp_get_notifications_read_permalink( bp_displayed_user_id() ); 71 } 72 66 73 // Redirect. 67 bp_core_redirect( bp_displayed_user_domain() . bp_get_notifications_slug() . '/' . bp_current_action() . '/');74 bp_core_redirect( $redirect ); 68 75 } 69 76 add_action( 'bp_actions', 'bp_notifications_action_bulk_manage' );
Note: See TracChangeset
for help on using the changeset viewer.