WordPress.org

Support

Support » Plugins and Hacks » [Plugin: bbPress] bbp_close_topic Bug

[Plugin: bbPress] bbp_close_topic Bug

  • 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/

  • The topic ‘[Plugin: bbPress] bbp_close_topic Bug’ is closed to new replies.