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