Changeset 5634 for sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-hooks.php
- Timestamp:
- 07/09/2017 11:52:12 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-hooks.php
r5610 r5634 36 36 add_filter( 'bbp_is_topic_closed', array( $this, 'auto_close_old_topics' ), 10, 2 ); 37 37 38 // Limit no-replies view to a certain number of days .38 // Limit no-replies view to a certain number of days and hide resolved topics. 39 39 add_filter( 'bbp_register_view_no_replies', array( $this, 'limit_no_replies_view' ) ); 40 40 … … 259 259 260 260 /** 261 * Limits No Replies view to 21 days by default .261 * Limits No Replies view to 21 days by default and hides resolved topics. 262 262 * 263 263 * @param array $args Array of query args for the view. … … 276 276 ), 277 277 ); 278 279 $args['meta_query'] = array( array( 280 'key' => 'topic_resolved', 281 'type' => 'CHAR', 282 'value' => 'no', 283 'compare' => '=' 284 ) ); 278 285 279 286 return $args;
Note: See TracChangeset
for help on using the changeset viewer.