Changeset 6384 for trunk/src/includes/common/widgets.php
- Timestamp:
- 03/20/2017 10:44:00 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/common/widgets.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/widgets.php
r6196 r6384 746 746 'post_parent' => $settings['parent_forum'], 747 747 'posts_per_page' => (int) $settings['max_shown'], 748 'post_status' => array( bbp_get_public_status_id(), bbp_get_closed_status_id()),748 'post_status' => bbp_get_public_topic_statuses(), 749 749 'ignore_sticky_posts' => true, 750 750 'no_found_rows' => true, … … 762 762 'post_parent' => $settings['parent_forum'], 763 763 'posts_per_page' => (int) $settings['max_shown'], 764 'post_status' => array( bbp_get_public_status_id(), bbp_get_closed_status_id()),764 'post_status' => bbp_get_public_topic_statuses(), 765 765 'ignore_sticky_posts' => true, 766 766 'no_found_rows' => true, … … 779 779 'post_parent' => $settings['parent_forum'], 780 780 'posts_per_page' => (int) $settings['max_shown'], 781 'post_status' => array( bbp_get_public_status_id(), bbp_get_closed_status_id()),781 'post_status' => bbp_get_public_topic_statuses(), 782 782 'ignore_sticky_posts' => true, 783 783 'no_found_rows' => true, … … 1131 1131 $widget_query = new WP_Query( array( 1132 1132 'post_type' => bbp_get_reply_post_type(), 1133 'post_status' => array( bbp_get_public_status_id(), bbp_get_closed_status_id()),1133 'post_status' => bbp_get_public_topic_statuses(), 1134 1134 'posts_per_page' => (int) $settings['max_shown'], 1135 1135 'ignore_sticky_posts' => true,
Note: See TracChangeset
for help on using the changeset viewer.