Skip to:
Content

bbPress.org

Changeset 4974


Ignore:
Timestamp:
05/29/2013 10:09:23 PM (13 years ago)
Author:
johnjamesjacoby
Message:

Replace the_content() with bbp_forum_content() where appropriate. Fixes recursion issues introduced in r4792, as part of http://buddypress.trac.wordpress.org/ticket/5021

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/admin/forums.php

    r4950 r4974  
    481481     * @param array $actions Actions
    482482     * @param array $forum Forum object
    483      * @uses the_content() To output forum description
     483     * @uses bbp_forum_content() To output forum description
    484484     * @return array $actions Actions
    485485     */
  • trunk/templates/default/bbpress/loop-single-forum.php

    r4948 r4974  
    2222        <?php do_action( 'bbp_theme_before_forum_description' ); ?>
    2323
    24         <div class="bbp-forum-content"><?php the_content(); ?></div>
     24        <div class="bbp-forum-content"><?php bbp_forum_content(); ?></div>
    2525
    2626        <?php do_action( 'bbp_theme_after_forum_description' ); ?>
Note: See TracChangeset for help on using the changeset viewer.