Changeset 5860
- Timestamp:
- 07/16/2015 05:01:21 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/topics/functions.php
r5858 r5860 962 962 if ( empty( $forum_id ) ) { 963 963 $forum_id = bbp_get_topic_forum_id( $topic_id ); 964 965 // Make every effort to get forum id 966 // https://bbpress.trac.wordpress.org/ticket/2529 967 if ( empty( $forum_id ) && ( current_action() === 'bbp_deleted_topic' ) ) { 968 $forum_id = get_post_field( 'post_parent', $topic_id ); 969 } 964 970 } 965 971
Note: See TracChangeset
for help on using the changeset viewer.