WordPress.org

Ready to get started?Download WordPress

Forums

bbPress
bbp_close_topic Bug (1 post)

  1. Ben Casey
    Member
    Posted 2 years ago #

    V2.0 Of bbpress, what a great piece of software!

    Only bug I have found in developing a heavily integrated site id in the function bbp_close_topic() in /bbp-includes/bbp-topic-functions.php.

    The call to bbp_get_closed_status_id() is missing the () at the end, hence PHP thinks it is looking for a constant, not running a function.

    My workaround is to place the following code in my theme functions.php file:
    define( 'bbp_get_closed_status_id' , bbp_get_closed_status_id() );

    Just thought I'd mention as i could not find this anywhere online.

    Cheers
    Ben

    http://wordpress.org/extend/plugins/bbpress/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags