Changeset 2810 for branches/plugin/bbp-includes/bbp-general-functions.php
- Timestamp:
- 01/17/2011 05:26:05 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-includes/bbp-general-functions.php
r2790 r2810 669 669 // Editing a topic 670 670 } elseif ( bbp_is_topic_edit() ) { 671 $template = array( ' page-bbp_edit.php', 'single-' . $bbp->topic_id, 'single.php', 'index.php' );671 $template = array( 'action-bbp_edit.php', 'single-' . $bbp->topic_id, 'single.php', 'index.php' ); 672 672 673 673 if ( !empty( $_GET['action'] ) && in_array( $_GET['action'], array( 'merge', 'split' ) ) ) 674 array_unshift( $template, ' page-bbp_split-merge.php' );674 array_unshift( $template, 'action-bbp_split-merge.php' ); 675 675 676 676 // Editing a reply 677 677 } elseif ( bbp_is_reply_edit() ) { 678 $template = array( ' page-bbp_edit.php', 'single-' . $bbp->reply_id, 'single.php', 'index.php' );678 $template = array( 'action-bbp_edit.php', 'single-' . $bbp->reply_id, 'single.php', 'index.php' ); 679 679 } 680 680
Note: See TracChangeset
for help on using the changeset viewer.