Changeset 5859
- Timestamp:
- 07/16/2015 04:59:05 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/replies/functions.php
r5829 r5859 927 927 if ( empty( $topic_id ) ) { 928 928 $topic_id = bbp_get_reply_topic_id( $reply_id ); 929 930 // Make every effort to get topic id 931 // https://bbpress.trac.wordpress.org/ticket/2529 932 if ( empty( $topic_id ) && ( current_action() === 'bbp_deleted_reply' ) ) { 933 $topic_id = get_post_field( 'post_parent', $reply_id ); 934 } 929 935 } 930 936
Note: See TracChangeset
for help on using the changeset viewer.