Ticket #1685: ticket-1685.diff
| File ticket-1685.diff, 1.7 KB (added by , 14 years ago) |
|---|
-
bbp-includes/bbp-core-compatibility.php
767 767 */ 768 768 function bbp_get_topic_tag_template() { 769 769 770 $tt_slug = bbp_get_topic_tag_slug(); 770 771 $tt_id = bbp_get_topic_tag_tax_id(); 771 772 $templates = array( 772 773 773 774 // Single Topic Tag 775 'taxonomy-' . $tt_slug . '.php', 776 'forums/taxonomy-' . $tt_slug . '.php', 777 'bbpress/taxonomy-' . $tt_slug . '.php', 778 774 779 'taxonomy-' . $tt_id . '.php', 775 780 'forums/taxonomy-' . $tt_id . '.php', 776 781 'bbpress/taxonomy-' . $tt_id . '.php', … … 797 802 */ 798 803 function bbp_get_topic_tag_edit_template() { 799 804 805 $tt_slug = bbp_get_topic_tag_slug(); 800 806 $tt_id = bbp_get_topic_tag_tax_id(); 801 807 $templates = array( 802 808 803 809 // Single Topic Tag Edit 810 'taxonomy-' . $tt_slug . '-edit.php', 811 'bbpress/taxonomy-' . $tt_slug . '-edit.php', 812 'forums/taxonomy-' . $tt_slug . '-edit.php', 813 804 814 'taxonomy-' . $tt_id . '-edit.php', 805 815 'bbpress/taxonomy-' . $tt_id . '-edit.php', 806 816 'forums/taxonomy-' . $tt_id . '-edit.php', 807 817 808 818 // Single Topic Tag 819 'taxonomy-' . $tt_slug . '.php', 820 'forums/taxonomy-' . $tt_slug . '.php', 821 'bbpress/taxonomy-' . $tt_slug . '.php', 822 809 823 'taxonomy-' . $tt_id . '.php', 810 824 'forums/taxonomy-' . $tt_id . '.php', 811 825 'bbpress/taxonomy-' . $tt_id . '.php', … … 897 911 // Single View 898 912 elseif ( bbp_is_single_view() && ( $new_template = bbp_get_single_view_template() ) ) : 899 913 900 // Topicedit914 // Forum edit 901 915 elseif ( bbp_is_forum_edit() && ( $new_template = bbp_get_forum_edit_template() ) ) : 902 916 903 917 // Topic merge