Skip to:
Content

bbPress.org

Changeset 2411


Ignore:
Timestamp:
03/31/2010 03:28:45 AM (12 years ago)
Author:
chrishajer
Message:

Add arguments to bb_topic_admin filter. Fixes #1237 props Nightgunner5, GIGALinux

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bb-includes/functions.bb-template.php

    r2409 r2411  
    13671367}
    13681368
    1369 function bb_topic_admin( $args = '' )
    1370 {
     1369function bb_topic_admin( $args = '' ) {
    13711370    $parts = array(
    13721371        'delete' => bb_get_topic_delete_link( $args ),
     
    13761375    );
    13771376
    1378     echo join( "\n", apply_filters( 'bb_topic_admin', $parts ) );
     1377    echo join( "\n", apply_filters( 'bb_topic_admin', $parts, $args ) );
    13791378}
    13801379
Note: See TracChangeset for help on using the changeset viewer.