Changeset 12031
- Timestamp:
- 08/26/2022 01:26:55 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-performance-optimizations.php
r11547 r12031 295 295 } 296 296 297 if ( bbp_is_single_view() && 'all-replies' === bbp_get_view_id() ) { 297 // Limit all-replies & all-topics views to posts in the last month. 298 if ( bbp_is_single_view() && in_array( bbp_get_view_id(), array( 'all-replies', 'all-topics' ) ) ) { 298 299 add_filter( 'posts_where', array( $this, 'posts_in_last_month' ) ); 299 300 }
Note: See TracChangeset
for help on using the changeset viewer.