Changeset 4427
- Timestamp:
- 11/16/2012 02:09:39 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/replies/functions.php
r4426 r4427 550 550 551 551 // Toggle revisions to avoid duplicates 552 if ( post_type_supports( bbp_get_ topic_post_type(), 'revisions' ) ) {552 if ( post_type_supports( bbp_get_reply_post_type(), 'revisions' ) ) { 553 553 $revisions_removed = true; 554 remove_post_type_support( bbp_get_ topic_post_type(), 'revisions' );554 remove_post_type_support( bbp_get_reply_post_type(), 'revisions' ); 555 555 } 556 556 … … 561 561 if ( true === $revisions_removed ) { 562 562 $revisions_removed = true; 563 add_post_type_support( bbp_get_ topic_post_type(), 'revisions' );563 add_post_type_support( bbp_get_reply_post_type(), 'revisions' ); 564 564 } 565 565
Note: See TracChangeset
for help on using the changeset viewer.