Changeset 527 for trunk/bp-friends.php
- Timestamp:
- 11/10/2008 11:22:03 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/bp-friends.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-friends.php
r525 r527 132 132 bp_core_add_message( __('Friendship could not be accepted', 'buddypress'), 'error' ); 133 133 } 134 wp_redirect( $_SERVER['HTTP_REFERER'] );134 bp_core_redirect( $_SERVER['HTTP_REFERER'] ); 135 135 136 136 } else if ( isset($bp['action_variables']) && in_array( 'reject', $bp['action_variables'] ) && is_numeric($bp['action_variables'][1]) ) { … … 141 141 bp_core_add_message( __('Friendship could not be rejected', 'buddypress'), 'error' ); 142 142 } 143 wp_redirect( $_SERVER['HTTP_REFERER'] );143 bp_core_redirect( $_SERVER['HTTP_REFERER'] ); 144 144 } 145 145
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)