Changeset 5658 for trunk/src/includes/admin/forums.php
- Timestamp:
- 03/24/2015 01:32:20 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/admin/forums.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/forums.php
r5637 r5658 428 428 * data, action and message 429 429 * @uses add_query_arg() To add custom args to the url 430 * @uses wp_safe_redirect() Redirect the page to custom url430 * @uses bbp_redirect() Redirect the page to custom url 431 431 */ 432 432 public function toggle_forum() { … … 480 480 // Redirect back to the forum 481 481 $redirect = add_query_arg( $message, remove_query_arg( array( 'action', 'forum_id' ) ) ); 482 wp_safe_redirect( $redirect ); 483 484 // For good measure 485 exit(); 482 bbp_redirect( $redirect ); 486 483 } 487 484 }
Note: See TracChangeset
for help on using the changeset viewer.