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-reply-template.php

    r3572 r3621  
    17291729        $classes   = array();
    17301730        $classes[] = ( (int) $count % 2 ) ? 'even' : 'odd';
    1731         $retval    = get_post_class( $classes, $reply_id );
    1732         $retval    = 'class="' . join( ' ', $retval ) . '"';
    1733 
    1734         return apply_filters( 'bbp_get_reply_class', $retval, $reply_id );
     1731        $classes   = get_post_class( $classes, $reply_id );
     1732        $classes   = apply_filters( 'bbp_get_reply_class', $classes, $reply_id );
     1733        $retval    = 'class="' . join( ' ', $classes ) . '"';
     1734
     1735        return $retval;
    17351736    }
    17361737
Note: See TracChangeset for help on using the changeset viewer.