Changeset 4147 for trunk/bp-groups/bp-groups-forums.php
- Timestamp:
- 03/23/2011 08:36:24 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-forums.php
r4137 r4147 112 112 } 113 113 114 function groups_update_group_forum_topic( $topic_id, $topic_title, $topic_text ) {114 function groups_update_group_forum_topic( $topic_id, $topic_title, $topic_text, $topic_tags = false ) { 115 115 global $bp; 116 116 … … 118 118 $topic_text = apply_filters( 'group_forum_topic_text_before_save', $topic_text ); 119 119 120 if ( $topic = bp_forums_update_topic( array( 'topic_title' => $topic_title, 'topic_text' => $topic_text, 'topic_id' => $topic_id ) ) ) {120 if ( $topic = bp_forums_update_topic( array( 'topic_title' => $topic_title, 'topic_text' => $topic_text, 'topic_id' => $topic_id, 'topic_tags' => $topic_tags ) ) ) { 121 121 // Update the activity stream item 122 122 if ( bp_is_active( 'activity' ) )
Note: See TracChangeset
for help on using the changeset viewer.