Ticket #2064: 2064.1.diff
| File 2064.1.diff, 1.5 KB (added by , 13 years ago) |
|---|
-
includes/extend/buddypress/group.php
571 571 $post = $forum; 572 572 573 573 bbp_set_query_name( 'bbp_forum_form' ); 574 575 574 bbp_get_template_part( 'form', 'forum' ); 576 575 577 576 else : … … 625 624 // Merge 626 625 if ( !empty( $_GET['action'] ) && 'merge' == $_GET['action'] ) : 627 626 bbp_set_query_name( 'bbp_topic_merge' ); 628 629 627 bbp_get_template_part( 'form', 'topic-merge' ); 630 628 631 629 // Split 632 630 elseif ( !empty( $_GET['action'] ) && 'split' == $_GET['action'] ) : 633 631 bbp_set_query_name( 'bbp_topic_split' ); 634 635 632 bbp_get_template_part( 'form', 'topic-split' ); 636 633 637 634 // Edit … … 643 640 644 641 // Single Topic 645 642 else: 646 647 643 bbp_set_query_name( 'bbp_single_topic' ); ?> 648 644 649 645 <h3><?php bbp_topic_title(); ?></h3> … … 700 696 $wp_query->bbp_is_reply_edit = true; 701 697 $post = $reply; 702 698 703 bbp_set_query_name( 'bbp_reply_form' ); 704 bbp_get_template_part( 'form', 'reply' ); 699 // Move 700 if ( !empty( $_GET['action'] ) && 'move' == $_GET['action'] ) : 701 bbp_set_query_name( 'bbp_reply_move' ); 702 bbp_get_template_part( 'form', 'reply-move' ); 705 703 704 // Edit 705 else : 706 bbp_set_query_name( 'bbp_reply_form' ); 707 bbp_get_template_part( 'form', 'reply' ); 708 709 endif; 710 706 711 endif; 707 712 708 713 endif; ?>