Ticket #1477: 1444.004.diff
File 1444.004.diff, 1.1 KB (added by , 14 years ago) |
---|
-
bbp-includes/bbp-reply-functions.php
270 270 /** Topic Tags ************************************************/ 271 271 272 272 // 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 ); 274 274 275 275 // Insert terms 276 276 $terms = wp_set_post_terms( $topic_id, $terms, $bbp->topic_tag_id, false ); … … 488 488 /** Topic Tags ************************************************/ 489 489 490 490 // 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 ); 492 492 493 493 // Insert terms 494 494 $terms = wp_set_post_terms( $topic_id, $terms, $bbp->topic_tag_id, false );