Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/23/2011 08:36:24 PM (11 years ago)
Author:
boonebgorges
Message:

Adds tag editing field to Topic Edit screen. References #2281

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-forums.php

    r4137 r4147  
    112112}
    113113
    114 function groups_update_group_forum_topic( $topic_id, $topic_title, $topic_text ) {
     114function groups_update_group_forum_topic( $topic_id, $topic_title, $topic_text, $topic_tags = false ) {
    115115    global $bp;
    116116
     
    118118    $topic_text  = apply_filters( 'group_forum_topic_text_before_save',  $topic_text  );
    119119
    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 ) ) ) {
    121121        // Update the activity stream item
    122122        if ( bp_is_active( 'activity' ) )
Note: See TracChangeset for help on using the changeset viewer.