Changeset 3224 for branches/plugin/bbp-includes/bbp-forum-template.php
- Timestamp:
- 05/25/2011 09:30:09 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-includes/bbp-forum-template.php
r3199 r3224 86 86 $default = array ( 87 87 'post_type' => bbp_get_forum_post_type(), 88 'post_parent' => bbp_get_forum_id(),88 'post_parent' => is_post_type_archive( bbp_get_forum_post_type() ) ? 0 : bbp_get_forum_id() , 89 89 'post_status' => implode( ',', $post_stati ), 90 90 'posts_per_page' => get_option( '_bbp_forums_per_page', 15 ),
Note: See TracChangeset
for help on using the changeset viewer.