Changeset 6526 for trunk/src/includes/replies/functions.php
- Timestamp:
- 06/12/2017 02:21:34 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/replies/functions.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/replies/functions.php
r6499 r6526 838 838 * @uses bbp_update_reply_topic_id() To update the reply topic id 839 839 * @uses bbp_update_reply_to() To update the reply to id 840 * @uses bbp_update_reply_walker() To update the reply's ancestors' counts840 * @uses bbp_update_reply_walker() To update the ancestor counts of a reply 841 841 */ 842 842 function bbp_update_reply( $reply_id = 0, $topic_id = 0, $forum_id = 0, $anonymous_data = array(), $author_id = 0, $is_edit = false, $reply_to = 0 ) { … … 1063 1063 * @uses bbp_get_reply_id() To get the reply id 1064 1064 * @uses bbp_get_forum_id() To get the forum id 1065 * @uses get_post_ancestors() To get the reply's forum1065 * @uses get_post_ancestors() To get the ancestors of a reply 1066 1066 * @uses get_post_field() To get the post type of the post 1067 1067 * @uses update_post_meta() To update the reply forum id meta 1068 1068 * @uses apply_filters() Calls 'bbp_update_reply_forum_id' with the forum id 1069 1069 * and reply id 1070 * @return bool Reply's forum id1070 * @return bool The forum id of the reply 1071 1071 */ 1072 1072 function bbp_update_reply_forum_id( $reply_id = 0, $forum_id = 0 ) { … … 1113 1113 * @uses bbp_get_reply_id() To get the reply id 1114 1114 * @uses bbp_get_topic_id() To get the topic id 1115 * @uses get_post_ancestors() To get the reply's topic1115 * @uses get_post_ancestors() To get the ancestors of a reply 1116 1116 * @uses get_post_field() To get the post type of the post 1117 1117 * @uses update_post_meta() To update the reply topic id meta 1118 1118 * @uses apply_filters() Calls 'bbp_update_reply_topic_id' with the topic id 1119 1119 * and reply id 1120 * @return bool Reply's topic id1120 * @return bool The topic id of the reply 1121 1121 */ 1122 1122 function bbp_update_reply_topic_id( $reply_id = 0, $topic_id = 0 ) { … … 1155 1155 1156 1156 /* 1157 * Update the reply's meta data with its reply to id1157 * Update the meta data with its parent reply-to id, of a reply 1158 1158 * 1159 1159 * @since 2.4.0 bbPress (r4944) … … 1165 1165 * @uses apply_filters() Calls 'bbp_update_reply_to' with the reply id and 1166 1166 * and reply to id 1167 * @return bool Reply's parent reply id1167 * @return bool The parent reply id of the reply 1168 1168 */ 1169 1169 function bbp_update_reply_to( $reply_id = 0, $reply_to = 0 ) { … … 1343 1343 /** Topic to Move From ***************************************************/ 1344 1344 1345 // Get the reply's current topic1345 // Get the current topic a reply is in 1346 1346 $source_topic = bbp_get_topic( $move_reply->post_parent ); 1347 1347
Note: See TracChangeset
for help on using the changeset viewer.