Changeset 7440
- Timestamp:
- 10/17/2013 07:00:39 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-screens.php
r7386 r7440 66 66 } 67 67 68 bp_core_redirect( trailingslashit( bp_loggedin_user_domain() . bp_get_groups_slug() . '/' . bp_current_action() ) ); 68 if ( isset( $_GET['redirect_to'] ) ) { 69 $redirect_to = urldecode( $_GET['redirect_to'] ); 70 } else { 71 $redirect_to = trailingslashit( bp_loggedin_user_domain() . bp_get_groups_slug() . '/' . bp_current_action() ); 72 } 73 74 bp_core_redirect( $redirect_to ); 69 75 70 76 } else if ( bp_is_action_variable( 'reject' ) && is_numeric( $group_id ) ) { … … 79 85 } 80 86 81 bp_core_redirect( trailingslashit( bp_loggedin_user_domain() . bp_get_groups_slug() . '/' . bp_current_action() ) ); 87 if ( isset( $_GET['redirect_to'] ) ) { 88 $redirect_to = urldecode( $_GET['redirect_to'] ); 89 } else { 90 $redirect_to = trailingslashit( bp_loggedin_user_domain() . bp_get_groups_slug() . '/' . bp_current_action() ); 91 } 92 93 bp_core_redirect( $redirect_to ); 82 94 } 83 95
Note: See TracChangeset
for help on using the changeset viewer.