Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: BuddyPress 1.2.5 tickets are cleared out

@johnjamesjacoby At risk of the subject becoming a tad boring :) back to the zebras:

For the moment, so I can move on I have adjusted bp-forums-templatetags.php – function bp_get_the_topic_css_class() ~580 to the snippet below to deal with the empty class attr:


if ( 0 == (int)$forum_template->topic->topic_open ):
$class .= ' closed';
else:
$class .= ' open';
endif;

and commented out the functions if($forum_template ->current_topic … $class .= ‘alt’ leaving the jQuery snippet to deal with alt class as in the short term it’s easier to let jQuery deal with this rather than $class hopefully when it’s sorted one or another changes should silently overwrite with no impact.

Skip to toolbar