Changeset 3621
- Timestamp:
- 11/20/2011 12:29:04 AM (13 years ago)
- Location:
- branches/plugin/bbp-includes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-includes/bbp-forum-template.php
r3587 r3621 1639 1639 $classes[] = bbp_is_forum_private( $forum_id ) ? 'status-private' : ''; 1640 1640 $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; 1645 1646 } 1646 1647 -
branches/plugin/bbp-includes/bbp-reply-template.php
r3572 r3621 1729 1729 $classes = array(); 1730 1730 $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; 1735 1736 } 1736 1737 -
branches/plugin/bbp-includes/bbp-topic-template.php
r3584 r3621 1946 1946 $classes[] = bbp_is_topic_super_sticky( $topic_id ) ? 'super-sticky' : ''; 1947 1947 $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; 1952 1953 } 1953 1954
Note: See TracChangeset
for help on using the changeset viewer.