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-forums/bp-forums-templatetags.php

    r2641 r2695  
    209209    return apply_filters( 'bp_has_topics', $forum_template->has_topics(), &$forum_template );
    210210}
    211     /* DEPRECATED use bp_has_forum_topics() */
    212     function bp_has_topics( $args = '' ) { return bp_has_forum_topics( $args ); }
    213211
    214212function bp_forum_topics() {
     
    216214    return $forum_template->user_topics();
    217215}
    218     /* DEPRECATED use bp_has_forum_topics() */
    219     function bp_topics() { return bp_forum_topics(); }
    220216
    221217function bp_the_forum_topic() {
     
    223219    return $forum_template->the_topic();
    224220}
    225     /* DEPRECATED use bp_the_forum_topic() */
    226     function bp_the_topic() { return bp_the_forum_topic(); }
    227221
    228222function bp_the_topic_id() {
     
    823817    return apply_filters( 'bp_has_topic_posts', $topic_template->has_posts(), &$topic_template );
    824818}
    825     /* DEPRECATED use bp_has_forum_topic_posts() */
    826     function bp_has_topic_posts() { return bp_has_forum_topic_posts( $args ); }
    827819
    828820function bp_forum_topic_posts() {
     
    830822    return $topic_template->user_posts();
    831823}
    832     /* DEPRECATED use bp_forum_topic_posts() */
    833     function bp_topic_posts() { return bp_forum_topic_posts(); }
    834824
    835825function bp_the_forum_topic_post() {
     
    837827    return $topic_template->the_post();
    838828}
    839     /* DEPRECATED use bp_the_forum_topic_post() */
    840     function bp_the_topic_post() { return bp_the_forum_topic_post(); }
    841829
    842830function bp_the_topic_post_id() {
Note: See TracChangeset for help on using the changeset viewer.