Ticket #2624: 2624.1.diff
File 2624.1.diff, 1023 bytes (added by , 11 years ago) |
---|
-
src/includes/topics/functions.php
1650 1660 // Update the reply 1651 1661 wp_update_post( array( 1652 1662 'ID' => $reply->ID, 1653 'post_title' => sprintf( __( 'Reply To: %s', 'bbpress' ), $destination_topic->post_title ),1654 'post_name' => false, // will be automatically generated1663 'post_title' => '', 1664 'post_name' => $reply->ID, 1655 1665 'post_parent' => $destination_topic->ID, 1656 1666 'menu_order' => $reply_position, 1657 1667 'guid' => '' … … 1664 1674 bbp_update_reply_topic_id( $reply->ID, $destination_topic->ID ); 1665 1675 bbp_update_reply_forum_id( $reply->ID, bbp_get_topic_forum_id( $destination_topic->ID ) ); 1666 1676 1677 // Adjust reply position 1678 bbp_update_reply_position( $reply->ID ); 1679 1667 1680 // Adjust reply to values 1668 1681 $reply_to = bbp_get_reply_to( $reply->ID ); 1669 1682