Skip to:
Content

bbPress.org

Ticket #3328: 3328.01.patch

File 3328.01.patch, 659 bytes (added by r-a-y, 3 years ago)
  • src/includes/extend/buddypress/activity.php

     
    504504                }
    505505
    506506                // Bail early if revisions are off
    507                 if ( ! bbp_allow_revisions() || ! post_type_supports( bbp_get_topic_post_type(), 'revisions' ) ) {
     507                if ( ! bbp_allow_revisions() ) {
    508508                        return;
    509509                }
    510510
     
    642642                }
    643643
    644644                // Bail early if revisions are off
    645                 if ( ! bbp_allow_revisions() || ! post_type_supports( bbp_get_reply_post_type(), 'revisions' ) ) {
     645                if ( ! bbp_allow_revisions() ) {
    646646                        return;
    647647                }
    648648