Skip to:
Content

bbPress.org


Ignore:
Timestamp:
12/06/2010 09:56:22 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Introduce BBP_Component class. Change alternate class to even/odd.

File:
1 edited

Legend:

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

    r2698 r2700  
    730730        global $bbp;
    731731
    732         $alternate = $bbp->reply_query->current_post % 2 ? '' : 'alternate';
     732        $alternate = $bbp->reply_query->current_post % 2 ? 'even' : 'odd';
    733733        $status    = 'status-'  . bbp_get_reply_status();
    734734        $post      = post_class( array( $alternate, $status ) );
Note: See TracChangeset for help on using the changeset viewer.