Changeset 9479
- Timestamp:
- 02/07/2020 08:02:17 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-topic-resolution/inc/class-plugin.php
r9477 r9479 352 352 __( 'Unresolved topics', 'wporg-forums' ), 353 353 apply_filters( 'wporg_bbp_topic_resolution_view_unresolved', array( 354 // Note: Do not merge into the below meta_query, this needs to use the `meta_key` property. 354 355 'meta_key' => 'topic_resolved', 355 356 'meta_type' => 'CHAR', 356 357 'meta_value' => 'no', 357 358 'meta_compare' => '=', 359 // Only query for posts that haven't been auto-closed after 6mths from last reply. 360 'meta_query' => [ 361 'key' => '_bbp_last_active_time', 362 'compare' => '>', 363 'value' => gmdate( 'Y-m-d H:i:s', time() - 6*MONTH_IN_SECONDS ), 364 ], 358 365 'orderby' => '', 359 366 'show_stickies' => false, 367 // Only query for topics that are not closed 360 368 'post_status' => 'publish', 361 369 ) )
Note: See TracChangeset
for help on using the changeset viewer.