Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/20/2011 12:29:04 AM (13 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-topic-template.php

    r3584 r3621  
    19461946        $classes[] = bbp_is_topic_super_sticky( $topic_id  ) ? 'super-sticky' : '';
    19471947        $classes   = array_filter( $classes );
    1948         $retval    = get_post_class( $classes, $topic_id );
    1949         $retval    = 'class="' . join( ' ', $retval ) . '"';
    1950 
    1951         return apply_filters( 'bbp_get_topic_class', $retval, $topic_id );
     1948        $classes   = get_post_class( $classes, $topic_id );
     1949        $classes   = apply_filters( 'bbp_get_topic_class', $classes, $topic_id );
     1950        $retval    = 'class="' . join( ' ', $classes ) . '"';
     1951
     1952        return $retval;
    19521953    }
    19531954
Note: See TracChangeset for help on using the changeset viewer.