Changeset 3505 for branches/plugin/bbp-includes/bbp-core-widgets.php
- Timestamp:
- 09/10/2011 10:27:19 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-includes/bbp-core-widgets.php
r3491 r3505 530 530 */ 531 531 function widget( $args, $instance ) { 532 global $bbp;533 532 534 533 extract( $args ); … … 727 726 */ 728 727 function widget( $args, $instance ) { 729 global $bbp;730 728 731 729 extract( $args ); … … 737 735 // Query defaults 738 736 $replies_query = array( 739 'post_status' => join( ',', array( 'publish', $bbp->closed_status_id) ),737 'post_status' => join( ',', array( bbp_get_public_status_id(), bbp_get_closed_status_id() ) ), 740 738 'posts_per_page' => $max_shown, 741 739 'order' => 'DESC'
Note: See TracChangeset
for help on using the changeset viewer.