Changeset 5658 for trunk/src/includes/admin/topics.php
- Timestamp:
- 03/24/2015 01:32:20 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/admin/topics.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/topics.php
r5637 r5658 488 488 * data, action and message 489 489 * @uses add_query_arg() To add custom args to the url 490 * @uses wp_safe_redirect() Redirect the page to custom url490 * @uses bbp_redirect() Redirect the page to custom url 491 491 */ 492 492 public function toggle_topic() { … … 585 585 // Redirect back to the topic 586 586 $redirect = add_query_arg( $message, remove_query_arg( array( 'action', 'topic_id' ) ) ); 587 wp_safe_redirect( $redirect ); 588 589 // For good measure 590 exit(); 587 bbp_redirect( $redirect ); 591 588 } 592 589 }
Note: See TracChangeset
for help on using the changeset viewer.