Changeset 5036 for trunk/includes/topics/functions.php
- Timestamp:
- 07/16/2013 07:36:05 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/includes/topics/functions.php ¶
r5022 r5036 1513 1513 'post_type' => bbp_get_topic_post_type(), 1514 1514 'post_parent' => $source_topic->post_parent, 1515 'menu_order' => 0, 1515 1516 'guid' => '' 1516 1517 ) ); … … 1640 1641 // Update the reply 1641 1642 wp_update_post( array( 1642 'ID' 1643 'post_title' 1644 'post_name' 1645 'post_parent' 1646 ' post_position'=> $reply_position,1647 'guid' 1643 'ID' => $reply->ID, 1644 'post_title' => sprintf( __( 'Reply To: %s', 'bbpress' ), $destination_topic->post_title ), 1645 'post_name' => false, // will be automatically generated 1646 'post_parent' => $destination_topic->ID, 1647 'menu_order' => $reply_position, 1648 'guid' => '' 1648 1649 ) ); 1649 1650
Note: See TracChangeset
for help on using the changeset viewer.