Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/20/2011 12:29:04 AM (12 years ago)
Author:
johnjamesjacoby
Message:

Allow forum/topic/reply row classes to be filtered. Fixes #1664.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-forum-template.php

    r3587 r3621  
    16391639        $classes[] = bbp_is_forum_private( $forum_id )  ? 'status-private'  : '';
    16401640        $classes   = array_filter( $classes );
    1641         $retval    = get_post_class( $classes, $forum_id );
    1642         $retval    = 'class="' . join( ' ', $retval ) . '"';
    1643 
    1644         return apply_filters( 'bbp_get_forum_class', $retval, $forum_id );
     1641        $classes   = get_post_class( $classes, $forum_id );
     1642        $classes   = apply_filters( 'bbp_get_forum_class', $classes, $forum_id );
     1643        $retval    = 'class="' . join( ' ', $classes ) . '"';
     1644
     1645        return $retval;
    16451646    }
    16461647
Note: See TracChangeset for help on using the changeset viewer.