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 |
|---|---|---|---|---|---|---|---|---|
| #601 | Job Manager & Career – Manage job board listings, and recruitments | 37 | 112 | 205 | 2k+ | Missing nonce verification | ||
| #602 | List category posts | 37 | 161 | 17 | 80k+ | Output is not escaped | ||
| #603 | PiWeb Live sales notification for WooCommerce | 37 | 289 | 77 | 30k+ | Text Domain Mismatch | ||
| #604 | news ticker benaceur | 37 | 1,097 | 31 | 1k+ | Output is not escaped | ||
| #605 | Plexx Elementor Extension | 37 | 582 | 14 | 400 | Text Domain Mismatch | ||
| #606 | RSS for Yandex Zen | 37 | 240 | 100 | 4k+ | Unsafe printing function | ||
| #607 | Slider Pro | 37 | 78 | 260 | 1k+ | Non-prefixed global variable | ||
| #608 | Tourfic Toolkit | 37 | 67 | 165 | 1k+ | Post Not In exclude | ||
| #609 | Conditional Discounts for WooCommerce – A simple yet complete woocommerce dynamic pricing plugin | 37 | 99 | 33 | 10k+ | Text Domain Mismatch | ||
| #610 | WP FullCalendar | 37 | 32 | 64 | 8k+ | Nonce verification recommended | ||
| #611 | TopNewsWp – Display Tikcer News, RSS Feed Widget and Many More | 37 | 878 | 59 | 800 | Output is not escaped | ||
| #612 | Yada Wiki | 37 | 207 | 45 | 2k+ | Text Domain Mismatch | ||
| #613 | Advanced Sermons | 38 | 833 | 184 | 1k+ | Unsafe printing function | ||
| #614 | Alphabetic Pagination | 38 | 144 | 117 | 500 | Unsafe printing function | ||
| #615 | Contact Form 7 – Post Fields | 38 | 167 | 25 | 3k+ | Text Domain Mismatch | ||
| #616 | Custom post type templates for Elementor | 38 | 289 | 33 | 700 | Text Domain Mismatch | ||
| #617 | Elemailer Lite – Elementor email template & campaign builder | 38 | 44 | 50 | 5k+ | Output is not escaped | ||
| #618 | Export to Blogger | 38 | 47 | 117 | 900 | Non-prefixed global variable | ||
| #619 | 3D FlipBook – PDF Embedder, PDF Flipbook Viewer, Flipbook Image Gallery | 38 | 353 | 77 | 80k+ | Non Singular String Literal Domain | ||
| #620 | JC Submenu | 38 | 279 | 32 | 4k+ | Output is not escaped | ||
| #621 | Jupiter X Core | 38 | 71 | 767 | 80k+ | Non-prefixed global variable | ||
| #622 | Lightning Advanced Unit | 38 | 189 | 27 | 3k+ | Output is not escaped | ||
| #623 | Magical Posts Display – Elementor Advanced Posts widgets | 38 | 117 | 48 | 3k+ | Output is not escaped | ||
| #624 | Mega Elements – Addons for Elementor | 38 | 170 | 57 | 10k+ | Output is not escaped | ||
| #625 | Popular Posts by Webline | 38 | 256 | 8 | 1k+ | Output is not escaped | ||
| #626 | LinkBoss – Semantic AI Internal Linking | 38 | 28 | 57 | 2k+ | Missing Arg Domain | ||
| #627 | Shapely Companion | 38 | 49 | 39 | 10k+ | Output is not escaped | ||
| #628 | WP Media Categories | 38 | 40 | 103 | 800 | Nonce verification recommended | ||
| #629 | ACF Recent Posts Widget | 39 | 260 | 16 | 500 | Output is not escaped | ||
| #630 | Affiliate Links – Link Cloaking and Management | 39 | 23 | 113 | 3k+ | Non-prefixed global variable | ||
| #631 | Gutenverse News – News Blocks for Blog & Magazine Sites | 39 | 37 | 65 | 800 | Non-prefixed hook name | ||
| #632 | HD Quiz | 39 | 252 | 82 | 7k+ | Output is not escaped | ||
| #633 | If Menu – Visibility control for Menus | 39 | 281 | 63 | 50k+ | Output is not escaped | ||
| #634 | Magazine Blocks – Blog Designer, Magazine & Newspaper Website Builder, Page Builder with Posts Blocks, Post Grid | 39 | 65 | 72 | 6k+ | block api version too low | ||
| #635 | Query Multiple Taxonomies | 39 | 55 | 41 | 500 | Output is not escaped | ||
| #636 | Reorder by Term | 39 | 20 | 84 | 1k+ | Request data is not unslashed | ||
| #637 | REST API Helper | 39 | 108 | 85 | 500 | Unsafe printing function | ||
| #638 | Shared Files – File Upload & Download Manager | 39 | 5 | 184 | 4k+ | Nonce verification recommended | ||
| #639 | Slider Text Scroll | 39 | 95 | 52 | 400 | Text Domain Mismatch | ||
| #640 | Sydney Toolbox | 39 | 84 | 62 | 50k+ | Unsafe printing function | ||
| #641 | Wicked Folders – Folder Organizer for Pages, Posts, and Custom Post Types | 39 | 89 | 117 | 20k+ | Unsafe printing function | ||
| #642 | Combo Offers WooCommerce | 39 | 38 | 89 | 2k+ | Missing nonce verification | ||
| #643 | WooCommerce Product Dependencies | 39 | 44 | 60 | 3k+ | Missing nonce verification | ||
| #644 | WP Accessibility | 39 | 199 | 104 | 60k+ | Unsafe printing function | ||
| #645 | Admin Search | 40 | 31 | 47 | 1k+ | Output is not escaped | ||
| #646 | Bulk Move | 40 | 85 | 44 | 9k+ | Unsafe printing function | ||
| #647 | Custom Simple Rss | 40 | 73 | 130 | 2k+ | Nonce verification recommended | ||
| #648 | Dashboard Welcome for Beaver Builder | 40 | 38 | 24 | 2k+ | Output is not escaped | ||
| #649 | FAQ Concertina | 40 | 43 | 16 | 700 | Output is not escaped | ||
| #650 | Flamingo | 40 | 15 | 228 | 800k+ | Nonce verification recommended |