Changeset 5866
- Timestamp:
- 07/17/2015 10:25:41 PM (9 years ago)
- Location:
- trunk/src/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/replies/functions.php
r5859 r5866 930 930 // Make every effort to get topic id 931 931 // https://bbpress.trac.wordpress.org/ticket/2529 932 if ( empty( $topic_id ) && ( current_ action() === 'bbp_deleted_reply' ) ) {932 if ( empty( $topic_id ) && ( current_filter() === 'bbp_deleted_reply' ) ) { 933 933 $topic_id = get_post_field( 'post_parent', $reply_id ); 934 934 } -
trunk/src/includes/topics/functions.php
r5860 r5866 965 965 // Make every effort to get forum id 966 966 // https://bbpress.trac.wordpress.org/ticket/2529 967 if ( empty( $forum_id ) && ( current_ action() === 'bbp_deleted_topic' ) ) {967 if ( empty( $forum_id ) && ( current_filter() === 'bbp_deleted_topic' ) ) { 968 968 $forum_id = get_post_field( 'post_parent', $topic_id ); 969 969 }
Note: See TracChangeset
for help on using the changeset viewer.