Skip to:
Content

bbPress.org

Ticket #1477: 1444.004.diff

File 1444.004.diff, 1.1 KB (added by cnorris23, 14 years ago)
  • bbp-includes/bbp-reply-functions.php

     
    270270                                /** Topic Tags ************************************************/
    271271
    272272                                // Just in time manipulation of reply terms before being edited
    273                                 $terms = apply_filters( 'bbp_new_reply_pre_set_terms', $terms, $topic_id );
     273                                $terms = apply_filters( 'bbp_new_reply_pre_set_terms', $terms, $topic_id, $reply_id );
    274274
    275275                                // Insert terms
    276276                                $terms = wp_set_post_terms( $topic_id, $terms, $bbp->topic_tag_id, false );
     
    488488                        /** Topic Tags ************************************************/
    489489
    490490                        // Just in time manipulation of reply terms before being edited
    491                         $terms = apply_filters( 'bbp_edit_reply_pre_set_terms', $terms, $topic_id );
     491                        $terms = apply_filters( 'bbp_edit_reply_pre_set_terms', $terms, $topic_id, $reply_id );
    492492
    493493                        // Insert terms
    494494                        $terms = wp_set_post_terms( $topic_id, $terms, $bbp->topic_tag_id, false );