Changeset 5036
- Timestamp:
- 07/16/2013 07:36:05 PM (13 years ago)
- Location:
- trunk/includes
- Files:
-
- 2 edited
-
replies/functions.php (modified) (1 diff)
-
topics/functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/replies/functions.php
r5021 r5036 1299 1299 // Update the reply 1300 1300 wp_update_post( array( 1301 'ID' => $move_reply->ID,1302 'post_title' => sprintf( __( 'Reply To: %s', 'bbpress' ), $destination_topic->post_title ),1303 'post_name' => false, // will be automatically generated1304 'post_parent' => $destination_topic->ID,1305 ' post_position'=> $reply_position,1306 'guid' => ''1301 'ID' => $move_reply->ID, 1302 'post_title' => sprintf( __( 'Reply To: %s', 'bbpress' ), $destination_topic->post_title ), 1303 'post_name' => false, // will be automatically generated 1304 'post_parent' => $destination_topic->ID, 1305 'menu_order' => $reply_position, 1306 'guid' => '' 1307 1307 ) ); 1308 1308 -
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' => $reply->ID,1643 'post_title' => sprintf( __( 'Reply To: %s', 'bbpress' ), $destination_topic->post_title ),1644 'post_name' => false, // will be automatically generated1645 'post_parent' => $destination_topic->ID,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.