| @@ -23,8 +23,9 @@ | ||
| 23 | 23 | $args = array( |
| 24 | 24 | 'post_type' => 'property', |
| 25 | 25 | 'fields' => 'ids', |
| 26 | 26 | 'post_status' => 'publish', |
| 27 | + // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_query -- This maintenance backfill must select records missing the destination metadata; removing the predicate would overwrite existing values. | |
| 27 | 28 | 'meta_query' => array( |
| 28 | 29 | array( |
| 29 | 30 | 'key' => '_on_market', |
| 30 | 31 | 'value' => 'yes' |
| @@ -34,8 +35,9 @@ | ||
| 34 | 35 | 'compare' => 'NOT EXISTS' |
| 35 | 36 | ) |
| 36 | 37 | ), |
| 37 | 38 | 'nopaging' => true, |
| 39 | + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.SuppressFilters_suppress_filters -- Maintenance must cover every language; front-end language filters would omit records from this backfill. | |
| 38 | 40 | 'suppress_filters' => true, |
| 39 | 41 | ); |
| 40 | 42 | $property_query = new WP_Query($args); |
| 41 | 43 | |