Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/12/2010 12:31:49 PM (15 years ago)
Author:
apeatling
Message:

Fixing the use of deprecated template tags in bp-default. Merged the fetching of BP runtime settings into one query to significantly reduce the number of run time database hits. Fixed #1916

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/groups/single/forum/topic.php

    r2626 r2695  
    1 <?php if ( bp_has_topic_posts() ) : ?>
     1<?php if ( bp_has_forum_topic_posts() ) : ?>
    22
    33    <form action="<?php bp_forum_topic_action() ?>" method="post" id="forum-topic-form" class="standard-form">
     
    2525
    2626        <ul id="topic-post-list" class="item-list">
    27             <?php while ( bp_topic_posts() ) : bp_the_topic_post(); ?>
     27            <?php while ( bp_forum_topic_posts() ) : bp_the_forum_topic_post(); ?>
    2828
    2929                <li id="post-<?php bp_the_topic_post_id() ?>">
Note: See TracChangeset for help on using the changeset viewer.