WordPress.DB.SlowDBQuery.slow_db_query_tax_query
slow db query tax query
A query pattern is likely to be slow on larger WordPress sites.
Why It Shows Up
The scan found query arguments such as broad meta queries, tax queries, or unindexed lookups that commonly become expensive as content grows.
Why It Matters
A query that feels fine on a small test site can become a production bottleneck on large stores, membership sites, or publishers.
How to Fix
- Avoid broad `meta_query`, `tax_query`, and unindexed searches on front-end requests when possible.
- Cache expensive results with transients, object cache, or precomputed data.
- Add narrower constraints, pagination, and indexes when custom tables are appropriate.
References
Affected Plugins
| Rank | Plugin | Score | Errors | Warnings | Installs | Added | Updated | Top Issue |
|---|---|---|---|---|---|---|---|---|
| #351 | Kirki – Freeform Page Builder, Website Builder & Customizer | 26 | 192 | 799 | 500k+ | Nonce verification recommended | ||
| #352 | MakeStories (for Google Web Stories) | 26 | 117 | 416 | 600 | Nonce verification recommended | ||
| #353 | Online Contact Widget-多合一在线客服插件 | 26 | 708 | 80 | 800 | Non Singular String Literal Domain | ||
| #354 | Open User Map – Interactive Leaflet Maps | 26 | 895 | 988 | 10k+ | Non-prefixed global variable | ||
| #355 | Organic Builder Widgets – Simple WordPress Page Builder | 26 | 1,034 | 125 | 4k+ | Output is not escaped | ||
| #356 | Polylang | 26 | 36 | 564 | 800k+ | Non-prefixed hook name | ||
| #357 | Portfolio by BestWebSoft – Work and Projects Presentation Plugin for WordPress | 26 | 525 | 240 | 600 | Text Domain Mismatch | ||
| #358 | Post List Designer – Category Post, Recent Post, Post List | 26 | 542 | 1,320 | 1k+ | Non-prefixed global variable | ||
| #359 | Product Table For WooCommerce | 26 | 191 | 858 | 600 | Non-prefixed global variable | ||
| #360 | RestaurantPress | 26 | 265 | 518 | 600 | Output is not escaped | ||
| #361 | Sliced Invoices – WordPress Invoice Plugin | 26 | 684 | 455 | 5k+ | Output is not escaped | ||
| #362 | StoreGrowth: Smart Sales Booster for WooCommerce | BOGO, Upsells, Direct Checkout, Quick View, Side Cart | 26 | 125 | 420 | 2k+ | Non-prefixed global variable | ||
| #363 | Ultimate Reviews | 26 | 515 | 345 | 500 | Output is not escaped | ||
| #364 | WPFrank Companion | 26 | 2,356 | 865 | 1k+ | Text Domain Mismatch | ||
| #365 | Addon Elements for Elementor (formerly Elementor Addon Elements) | 27 | 4,065 | 103 | 90k+ | Text Domain Mismatch | ||
| #366 | Apollo13 Framework Extensions | 27 | 171 | 273 | 20k+ | Non-prefixed global variable | ||
| #367 | Arconix FAQ | 27 | 552 | 201 | 6k+ | Text Domain Mismatch | ||
| #368 | Gallery – Photo Albums Plugin | 27 | 647 | 252 | 2k+ | Output is not escaped | ||
| #369 | Echo Knowledge Base – Documentation, FAQs, Chat & Smart Search | 27 | 289 | 751 | 10k+ | Output is not escaped | ||
| #370 | Extra Product Options for WooCommerce | 27 | 548 | 1,342 | 600 | Non-prefixed global variable | ||
| #371 | Hester Core | 27 | 253 | 103 | 10k+ | Output is not escaped | ||
| #372 | Import Eventbrite Events | 27 | 156 | 575 | 3k+ | Non-prefixed global variable | ||
| #373 | Magical Shop Builder – WooCommerce Template Builder for Elementor | Shop, Cart, Checkout & Product Page Builder | 27 | 76 | 459 | 3k+ | Non-prefixed namespace | ||
| #374 | Memberful – Membership Plugin | 27 | 351 | 336 | 1k+ | Text Domain Mismatch | ||
| #375 | MLSImport – Download and synchronize real estate data from various MLS (Multiple Listing Services) | 27 | 154 | 551 | 5k+ | Non-prefixed global variable | ||
| #376 | RS Elements Elementor Addon | 27 | 2,026 | 321 | 500 | Text Domain Mismatch | ||
| #377 | Simple Download Monitor | 27 | 218 | 273 | 20k+ | Output is not escaped | ||
| #378 | Simple Event Planner | 27 | 149 | 346 | 1k+ | Non-prefixed global variable | ||
| #379 | Social Web Suite – Social Media Auto Post, Social Media Auto Publish | 27 | 74 | 164 | 500 | Non-prefixed global variable | ||
| #380 | Orbit Fox: Duplicate Page, Menu Icons, SVG Support, Cookie Notice, Custom Fonts & More | 27 | 165 | 430 | 100k+ | Non-prefixed global variable | ||
| #381 | Food Menu – Restaurant Menu & Online Ordering for WooCommerce | 27 | 25 | 1,320 | 3k+ | Non-prefixed global variable | ||
| #382 | WC Booster | 27 | 191 | 282 | 800 | Non-prefixed global variable | ||
| #383 | WDesignKit – Elementor & Gutenberg Starter Templates, Patterns, Cloud Workspace & Widget Builder | 27 | 109 | 801 | 30k+ | Missing nonce verification | ||
| #384 | Wiremo – Product Reviews for WooCommerce | 27 | 445 | 212 | 700 | Output is not escaped | ||
| #385 | Tabbed Category Product Listing for Woocommerce | 27 | 423 | 111 | 1k+ | Text Domain Mismatch | ||
| #386 | Vertex Addons for Elementor | 28 | 232 | 413 | 400 | Output is not escaped | ||
| #387 | Discount Rules and Dynamic Pricing for WooCommerce | 28 | 181 | 334 | 10k+ | Output is not escaped | ||
| #388 | Event Tickets Manager for WooCommerce | 28 | 181 | 648 | 1k+ | Non-prefixed global variable | ||
| #389 | Expand Divi | 28 | 91 | 100 | 1k+ | Non-prefixed global variable | ||
| #390 | Geo Mashup | 28 | 775 | 232 | 1k+ | Text Domain Mismatch | ||
| #391 | Photo Gallery – GT3 Image Gallery & Gutenberg Block Gallery | 28 | 384 | 175 | 10k+ | Text Domain Mismatch | ||
| #392 | HootKit | 28 | 429 | 1,295 | 8k+ | Non-prefixed global variable | ||
| #393 | IdeaPush | 28 | 283 | 298 | 800 | Output is not escaped | ||
| #394 | Opal Service | 28 | 339 | 329 | 900 | Non-prefixed global variable | ||
| #395 | Perfect Brands for WooCommerce | 28 | 112 | 143 | 40k+ | Non-prefixed constant | ||
| #396 | Pixel Gallery Addons for Elementor – Easy Grid, Creative Gallery, Drag and Drop Grid, Custom Grid Layout, Portfolio Gallery | 28 | 146 | 259 | 5k+ | Post Not In exclude | ||
| #397 | Query Wrangler | 28 | 628 | 229 | 700 | Output is not escaped | ||
| #398 | Responsive Lightbox & Gallery | 28 | 139 | 513 | 100k+ | Non-prefixed hook name | ||
| #399 | Praison AI SEO | 28 | 649 | 306 | 1k+ | Text Domain Mismatch | ||
| #400 | Slider Pro | 28 | 583 | 527 | 4k+ | Unsafe printing function |