Changeset 5778 for trunk/src/includes/topics/functions.php
- Timestamp:
- 05/22/2015 08:30:08 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/topics/functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/topics/functions.php
r5776 r5778 1010 1010 * @uses bbp_get_topic_id() To get the topic id 1011 1011 * @uses bbp_get_forum_id() To get the forum id 1012 * @uses wp_update_post() To update the topic post parent` 1012 1013 * @uses bbp_get_stickies() To get the old forums sticky topics 1013 1014 * @uses delete_post_meta() To delete the forum sticky meta … … 1036 1037 // Update topic forum's ID 1037 1038 bbp_update_topic_forum_id( $topic_id, $new_forum_id ); 1039 1040 // Update topic post parent with the new forum ID 1041 wp_update_post( array( 1042 'ID' => $topic_id, 1043 'post_parent' => $new_forum_id, 1044 ) ); 1038 1045 1039 1046 /** Stickies **************************************************************/
Note: See TracChangeset
for help on using the changeset viewer.