Changeset 5312
- Timestamp:
- 03/05/2014 08:06:48 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/forums/functions.php
r5311 r5312 1848 1848 // Add the statuses 1849 1849 $posts_query->set( 'post_status', array_unique( array_filter( $post_stati ) ) ); 1850 } 1851 1852 // Topics Or Replies 1853 if ( array_intersect( array( bbp_get_topic_post_type(), bbp_get_reply_post_type() ), $post_types ) ) { 1850 1851 // Some other post type besides bbPress's Forums, Topics, or Replies 1852 } elseif ( ! array_diff( $post_types, array( bbp_get_forum_post_type(), bbp_get_topic_post_type(), bbp_get_reply_post_type() ) ) ) { 1854 1853 1855 1854 // Get forums to exclude
Note: See TracChangeset
for help on using the changeset viewer.