I have a function tied to the filter bbp_theme_before_reply_form_submit_wrapper and I noticed that this function was called twice every time I refreshed the topic page. This happens only when pretty permalinks are on (/%postname%/) and only on FireFox.
After investigating bbpress and WordPress source code I found out that the template_include filter (found in wp-includes/template-loader.php) is applied twice.
It only happens on bbpress pages, only on FireFox, only with pretty permalinks on.
I’m using WordPress 3.8 and bbpress 2.5.3
I’m using a custom theme but I already tested on TwentyThirteen and I experience the same problem.
Any help would be appreciated!!!