Changeset 3919 for branches/plugin/bbp-admin/bbp-topics.php
- Timestamp:
- 05/22/2012 09:58:26 AM (14 years ago)
- File:
-
- 1 edited
-
branches/plugin/bbp-admin/bbp-topics.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-admin/bbp-topics.php
r3842 r3919 519 519 * data, action and message 520 520 * @uses add_query_arg() To add custom args to the url 521 * @uses wp_ redirect() Redirect the page to custom url521 * @uses wp_safe_redirect() Redirect the page to custom url 522 522 */ 523 523 function toggle_topic() { … … 579 579 // Redirect back to the topic 580 580 $redirect = add_query_arg( $message, remove_query_arg( array( 'action', 'topic_id' ) ) ); 581 wp_ redirect( $redirect );581 wp_safe_redirect( $redirect ); 582 582 583 583 // For good measure
Note: See TracChangeset
for help on using the changeset viewer.