@since: bbPress (r3108)
Description
bbp_theme_compat_reset_post()

This fun little function fills up some WordPress globals with dummy data to stop your average page template from complaining about it missing.

Source: bp-forums/core/theme-compat.php:301