Skip to:
Content

bbPress.org

Changes between Initial Version and Version 1 of Ticket #3328, comment 1


Ignore:
Timestamp:
02/27/2020 05:21:58 AM (22 months ago)
Author:
r-a-y
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3328, comment 1

    initial v1  
    11I can confirm this bug.  The revisions check was added in r6656.
    22
    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.
     3The 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.
    44
    55I'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`.