Changeset 5866 for trunk/src/includes/topics/functions.php
- Timestamp:
- 07/17/2015 10:25:41 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.