Changeset 6341 for trunk/src/includes/core/theme-compat.php
- Timestamp:
- 03/02/2017 04:46:00 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/core/theme-compat.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/core/theme-compat.php
r6314 r6341 578 578 ) ); 579 579 580 // Lock the forum from other edits 581 bbp_set_post_lock( bbp_get_forum_id() ); 582 580 583 } elseif ( bbp_is_single_forum() ) { 581 584 … … 644 647 645 648 // Edit 646 } elseif ( bbp_is_topic_edit() ) { 649 } elseif ( bbp_is_topic_edit() ) { 647 650 $new_content = $bbp_shortcodes->display_topic_form(); 651 652 // Lock the topic from other edits 653 bbp_set_post_lock( bbp_get_topic_id() ); 648 654 649 655 // Single … … 694 700 $new_content = $bbp_shortcodes->display_reply_form(); 695 701 702 // Lock the topic from other edits 703 bbp_set_post_lock( bbp_get_reply_id() ); 704 696 705 // Single 697 706 } else {
Note: See TracChangeset
for help on using the changeset viewer.