Topic Freshness Not Updated After Split
|Reported by:||JarretC||Owned by:|
When performing a split of a topic, the _bbp_last_active_time value in _postmeta is set with the date of the original topic/reply instead of the reply being split.
Steps to reproduce...
- Create a topic one week old
- Create a new reply to that topic
- Split the newest reply in that topic to its own topic
When you look at the list of topics in the forum you'll notice that the newly split reply will have the same freshness as the topic that it was just split from. If you go into the actual topic itself you'll see that it reports as when you made the most current reply.
bbp_update_topic_last_active_time( $destination_topic->ID, $freshness ); in bbp-topic-functions.php is what sets the value.