Changeset 2830 for branches/plugin/bbp-includes/bbp-topic-functions.php
- Timestamp:
- 02/04/2011 04:23:25 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-includes/bbp-topic-functions.php
r2818 r2830 1138 1138 if ( false != $success && !is_wp_error( $success ) ) { 1139 1139 1140 // Redirect back to the topic's forum 1141 if ( isset( $sub_action ) && 'delete' == $sub_action ) 1142 $redirect = bbp_get_forum_permalink( $success->post_parent ); 1143 1140 1144 // Redirect back to the topic 1141 $redirect = bbp_get_topic_permalink( $topic_id ); 1145 else 1146 $redirect = bbp_get_topic_permalink( $topic_id ); 1147 1142 1148 wp_redirect( $redirect ); 1143 1149
Note: See TracChangeset
for help on using the changeset viewer.