Skip to:
Content

bbPress.org


Ignore:
Timestamp:
01/14/2011 07:22:08 PM (15 years ago)
Author:
johnjamesjacoby
Message:

Adjust topic and reply counts up the subforum tree. Fixes #1320. Props GautamGupta

File:
1 edited

Legend:

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

    r2796 r2806  
    494494            $since  = bbp_get_time_since( bbp_convert_date( $revision->post_modified ) );
    495495
    496             $r .= "\t" . '<li id="bbp-reply-revision-log-' . $reply_id . '-item" class="bbp-reply-revision-log-item">' . "\n";
     496            $r .= "\t" . '<li id="bbp-reply-revision-log-' . $reply_id . '-item-' . $revision->ID . '" class="bbp-reply-revision-log-item">' . "\n";
    497497                $r .= "\t\t" . sprintf( __( empty( $reason ) ? 'This reply was modified %1$s ago by %2$s.' : 'This reply was modified %1$s ago by %2$s. Reason: %3$s', 'bbpress' ), $since, $author, $reason ) . "\n";
    498498            $r .= "\t" . '</li>' . "\n";
     
    871871
    872872        if ( empty( $link_text ) ) {
    873             if ( bbp_is_topic() || bbp_is_reply() )
     873            if ( bbp_is_topic() || bbp_is_reply() ) {
    874874                $link_text = bbp_get_reply_author_avatar( $reply_id, 80 );
    875             else
     875            } else {
    876876                $link_text = bbp_get_reply_author( $reply_id );
     877            }
    877878        }
    878879
Note: See TracChangeset for help on using the changeset viewer.