https://bbpress.trac.wordpress.org/ticket/3610/