Skip to:
Content

bbPress.org

Ticket #1477: 1477.003.diff

File 1477.003.diff, 915 bytes (added by cnorris23, 14 years ago)
  • bbp-includes/bbp-reply-functions.php

     
    269269
    270270                                /** Topic Tags ************************************************/
    271271
     272                                // Just in time manipulation of reply terms before being edited
     273                                $terms = apply_filters( 'bbp_new_reply_pre_set_terms', $terms, $topic_id );
     274
    272275                                // Insert terms
    273276                                $terms = wp_set_post_terms( $topic_id, $terms, $bbp->topic_tag_id, false );
    274277
     
    484487
    485488                        /** Topic Tags ************************************************/
    486489
     490                        // Just in time manipulation of reply terms before being edited
     491                        $terms = apply_filters( 'bbp_edit_reply_pre_set_terms', $terms, $topic_id );
     492
    487493                        // Insert terms
    488494                        $terms = wp_set_post_terms( $topic_id, $terms, $bbp->topic_tag_id, false );
    489495