Ticket #2587: 2587.diff
File 2587.diff, 842 bytes (added by , 11 years ago) |
---|
-
src/includes/admin/topics.php
329 329 } 330 330 } 331 331 332 /** Move Topic ********************************************************/ 333 334 // If the new forum id is not equal to the old forum id, run the 335 // bbp_move_topic action and pass the topic's forum id as the 336 // first arg and topic id as the second to update counts. 337 if ( $forum_id !== $topic->post_parent ) { 338 bbp_move_topic_handler( $topic_id, $topic->post_parent, $forum_id ); 339 } 340 332 341 // Allow other fun things to happen 333 342 do_action( 'bbp_topic_attributes_metabox_save', $topic_id, $forum_id ); 334 343 do_action( 'bbp_author_metabox_save', $topic_id, $anonymous_data );