Changeset 6672 for trunk/src/includes/search/template.php
- Timestamp:
- 08/28/2017 02:09:54 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/search/template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/search/template.php
r6629 r6672 26 26 27 27 $default_search_terms = bbp_get_search_terms(); 28 $default_post_type = array( bbp_get_forum_post_type(), bbp_get_topic_post_type(), bbp_get_reply_post_type() );28 $default_post_types = get_post_types( array( 'source' => 'bbpress' ) ); 29 29 30 30 // Default query args 31 31 $default = array( 32 'post_type' => $default_post_type ,// Forums, topics, and replies32 'post_type' => $default_post_types, // Forums, topics, and replies 33 33 'posts_per_page' => bbp_get_replies_per_page(), // This many 34 34 'paged' => bbp_get_paged(), // On this page
Note: See TracChangeset
for help on using the changeset viewer.