Skip to:
Content

bbPress.org

Ticket #1237: 1237.diff

File 1237.diff, 742 bytes (added by GIGALinux, 12 years ago)
  • bb-includes/functions.bb-template.php

     
    13561356        return $links;
    13571357}
    13581358
    1359 function bb_topic_admin( $args = '' )
    1360 {
     1359function bb_topic_admin( $args = '' ) {
    13611360        $parts = array(
    13621361                'delete' => bb_get_topic_delete_link( $args ),
    13631362                'close'  => bb_get_topic_close_link( $args ),
     
    13651364                'move'   => bb_get_topic_move_dropdown( $args )
    13661365        );
    13671366
    1368         echo join( "\n", apply_filters( 'bb_topic_admin', $parts ) );
     1367        echo join( "\n", apply_filters( 'bb_topic_admin', $parts, $args ) );
    13691368}
    13701369
    13711370function topic_delete_link( $args = '' ) {