Changeset 13443 for trunk/src/bp-messages/actions/read.php
- Timestamp:
- 03/31/2023 05:26:39 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-messages/actions/read.php
r13096 r13443 44 44 } 45 45 46 $path_chunks = bp_members_get_path_chunks( array( bp_get_messages_slug(), bp_current_action() ) ); 47 $redirect = bp_displayed_user_url( $path_chunks ); 48 46 49 // Redirect back to the message box. 47 bp_core_redirect( bp_displayed_user_domain() . bp_get_messages_slug() . '/' . bp_current_action());50 bp_core_redirect( $redirect ); 48 51 } 49 52 add_action( 'bp_actions', 'bp_messages_action_mark_read' );
Note: See TracChangeset
for help on using the changeset viewer.