Skip to:
Content

BuddyPress.org


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

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

File:
1 edited

Legend:

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

    r4010 r4147  
    186186        'topic_id'    => false,
    187187        'topic_title' => '',
    188         'topic_text'  => ''
    189     );
    190 
    191     $r = wp_parse_args( $args, $defaults );
    192     extract( $r, EXTR_SKIP );
    193 
    194     if ( !$topic_id = bb_insert_topic( array( 'topic_id' => $topic_id, 'topic_title' => stripslashes( $topic_title ) ) ) )
     188        'topic_text'  => '',
     189        'topic_tags'  => false
     190    );
     191
     192    $r = wp_parse_args( $args, $defaults );
     193    extract( $r, EXTR_SKIP );
     194
     195    if ( !$topic_id = bb_insert_topic( array( 'topic_id' => $topic_id, 'topic_title' => stripslashes( $topic_title ), 'tags' => $topic_tags ) ) )
    195196        return false;
    196197
Note: See TracChangeset for help on using the changeset viewer.