It works! You rock, dude!
Hi,
I’m not using any cache plugins. I’ve only got 18 forums (flat), 1 topic, and 1 reply. Here’s a dump of all the hooks in use on the topic page.
{snip}
In fact, it’s this section causing the problem:
if ( $parent = $wpdb->get_results( $wpdb->prepare( "SELECT ID, post_type FROM $wpdb->posts WHERE ID = %d", $post->post_parent ) ) )
bbp_clean_post_cache( $parent );