diff --git src/includes/replies/functions.php src/includes/replies/functions.php
index b8f07f9..86b7011 100644
|
|
function bbp_update_reply_walker( $reply_id, $last_active_time = '', $forum_id = |
928 | 928 | // Get the topic ID if none was passed |
929 | 929 | if ( empty( $topic_id ) ) { |
930 | 930 | $topic_id = bbp_get_reply_topic_id( $reply_id ); |
| 931 | |
| 932 | // Make every effort to get topic id |
| 933 | if ( empty( $topic_id ) && 'bbp_deleted_reply' === current_action() ) { |
| 934 | $topic_id = get_post_field( 'post_parent', $reply_id ); |
| 935 | } |
931 | 936 | } |
932 | 937 | |
933 | 938 | // Get the forum ID if none was passed |