Changes between Initial Version and Version 1 of Ticket #3328, comment 1
- Timestamp:
- 02/27/2020 05:21:58 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3328, comment 1
initial v1 1 1 I can confirm this bug. The revisions check was added in r6656. 2 2 3 The problem with using `post_type_supports( BBP_POST_TYPE, 'revisions' )` is it always returns `false` due to the usage of `remove_post_type_support( BBP_POST_TYPE, 'revisions' )` in r4426.3 The problem with using `post_type_supports( BBP_POST_TYPE, 'revisions' )` on the `'edit_post'` hook is it always returns `false` due to the usage of `remove_post_type_support( BBP_POST_TYPE, 'revisions' )` in r4426. 4 4 5 5 I'd probably recommend removing the `post_type_supports( BBP_POST_TYPE, 'revisions' )` check on lines 507 and 645 to solve this problem. See `01.patch`.