Changeset 10517
- Timestamp:
- 12/15/2020 09:15:19 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/front-page.php
r9998 r10517 9 9 10 10 namespace WordPressdotorg\Plugin_Directory\Theme; 11 12 use WordPressdotorg\Plugin_Directory\Template; 11 13 12 14 $sections = array( … … 48 50 } else if ( 'blocks' === $browse ) { 49 51 $section_args['orderby'] = 'rand'; 52 $section_args['meta_query'] = [ 53 [ 54 'key' => '_active_installs', 55 'value' => 200, 56 'type' => 'numeric', 57 'compare' => '>=', 58 ], 59 [ 60 'key' => 'tested', 61 'value' => Template::get_current_major_wp_version() - 0.2, 62 'compare' => '>=', 63 ], 64 ]; 50 65 } 51 66
Note: See TracChangeset
for help on using the changeset viewer.