Skip to:
Content

bbPress.org

Changeset 4594


Ignore:
Timestamp:
12/20/2012 09:49:50 AM (9 years ago)
Author:
johnjamesjacoby
Message:

In loop-single-reply/topic templates, replace "post-ID" with correct post type for query. Fixes issues with duplicate element ID's. Fixes #1980.

Location:
trunk/templates/default/bbpress
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/default/bbpress/loop-single-reply.php

    r4228 r4594  
    3737</div><!-- .bbp-reply-header -->
    3838
    39 <div id="post-<?php bbp_reply_id(); ?>" <?php bbp_reply_class(); ?>>
     39<div id="bbp-reply-<?php bbp_reply_id(); ?>" <?php bbp_reply_class(); ?>>
    4040
    4141    <div class="bbp-reply-author">
     
    6969    </div><!-- .bbp-reply-content -->
    7070
    71 </div><!-- #post-<?php bbp_reply_id(); ?> -->
     71</div><!-- #bbp-reply-<?php bbp_reply_id(); ?> -->
  • trunk/templates/default/bbpress/loop-single-topic.php

    r4462 r4594  
    1010?>
    1111
    12 <ul id="topic-<?php bbp_topic_id(); ?>" <?php bbp_topic_class(); ?>>
     12<ul id="bbp-topic-<?php bbp_topic_id(); ?>" <?php bbp_topic_class(); ?>>
    1313
    1414    <li class="bbp-topic-title">
     
    103103    </li>
    104104
    105 </ul><!-- #topic-<?php bbp_topic_id(); ?> -->
     105</ul><!-- #bbp-topic-<?php bbp_topic_id(); ?> -->
Note: See TracChangeset for help on using the changeset viewer.