Changeset 6672 for trunk/src/includes/core/template-functions.php
- Timestamp:
- 08/28/2017 02:09:54 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/core/template-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/core/template-functions.php
r6641 r6672 716 716 717 717 // Do topics on forums root 718 } elseif ( is_post_type_archive( array( bbp_get_forum_post_type(), bbp_get_topic_post_type() ) ) && ( 'topics' === bbp_show_on_root() ) ) {718 } elseif ( is_post_type_archive( get_post_types( array( 'source' => 'bbpress', 'has_archive' ) ) ) && ( 'topics' === bbp_show_on_root() ) ) { 719 719 $posts_query->bbp_show_topics_on_root = true; 720 720 }
Note: See TracChangeset
for help on using the changeset viewer.