Skip to:
Content

bbPress.org

Changeset 4571


Ignore:
Timestamp:
12/13/2012 09:31:47 PM (7 years ago)
Author:
jmdodd
Message:

Use $rtopic_id? to set initial $topic_id value.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/topics/template-tags.php

    r4564 r4571  
    15311531        ), 'get_topic_author_role' );
    15321532
    1533         $topic_id    = bbp_get_topic_id( $topic_id );
     1533        $topic_id    = bbp_get_topic_id( $r['topic_id'] );
    15341534        $role        = bbp_get_user_display_role( bbp_get_topic_author_id( $topic_id ) );
    15351535        $author_role = sprintf( '%1$s<div class="%2$s">%3$s</div>%4$s', $r['before'], $r['class'], $role, $r['after'] );
Note: See TracChangeset for help on using the changeset viewer.