WordPress.DB.DirectDatabaseQuery.NoCaching

No Caching

The plugin runs a direct database query instead of using a higher-level WordPress API or cache-aware pattern.

medium weight

Why It Shows Up

Plugin Check found `$wpdb` access that queries the database directly, changes schema, or bypasses normal caching expectations.

Why It Matters

Direct queries can be correct, but they are easier to make unsafe, slower at scale, and harder for WordPress to cache or filter.

How to Fix

  • Use WordPress APIs such as post, term, metadata, option, or user functions when they fit the task.
  • If direct SQL is necessary, prepare dynamic values and add a clear caching strategy for repeated reads.
  • Keep schema changes in activation or upgrade routines and make them idempotent.

Affected Plugins

RankPluginScoreErrorsWarningsInstallsAddedUpdatedTop Issue
#2551Broken Link Notifier40111931k+Non-prefixed global variable
#2552Bubble Menu – Floating Button Menu with Sticky Navigation4022161k+Nonce verification recommended
#2553BuddyPress Profile Completion402830500Output is not escaped
#2554Bulk Delete Comments4016615k+Direct Query
#2555Bulk Move4085449k+Unsafe printing function
#2556Coming soon Page402418500Text Domain Mismatch
#2557Contact Form 7 to Mailjet407039600Output is not escaped
#2558Complete Image Sitemap4055181k+Output is not escaped
#2559Database Addon for Contact Form 7 – CFDB7403556600k+Nonce verification recommended
#2560Copyscape Premium40148133800SQL query is not prepared
#2561Country State City Dropdown CF74035545k+Direct Query
#2562Coupon Generator for WooCommerce40392810k+Unsafe printing function
#2563Cron Logger4049361k+Output is not escaped
#2564Cryptocurrency Widgets Pack4022252700Unsafe printing function
#2565Custom Contact Forms40131066k+Missing nonce verification
#2566Delete Me40116177k+Output is not escaped
#2567Easy Image Collage4096184k+Unsafe printing function
#2568Enhanced Custom Permalinks4051821k+Nonce verification recommended
#2569Eventer4061551k+Output is not escaped
#2570Expiring Posts405220900Missing Arg Domain
#2571FameTheme Demo Importer4087430k+Nonce verification recommended
#2572FAQ Concertina404316700Output is not escaped
#2573Flamingo4015228800k+Nonce verification recommended
#2574GetPaid > Item Inventory4011252400Text Domain Mismatch
#2575Product Enquiry for WooCommerce4057413k+Output is not escaped
#2576Hostinger Reach – AI-Powered Email Marketing for WordPress409461m+Direct Query
#2577iNext Woo Pincode Checker403682700Missing nonce verification
#2578Internal Linking of Related Contents40714471k+Output is not escaped
#2579Invite Anyone40321301k+Non-prefixed hook name
#2580JSM Show Order Metadata for WooCommerce HPOS401764700Nonce verification recommended
#2581JSM Show Post Metadata40156610k+Nonce verification recommended
#2582JSM Show Term Metadata401464900Nonce verification recommended
#2583JSM Show User Metadata4014643k+Nonce verification recommended
#2584La Sentinelle antispam4088463k+Output is not escaped
#2585Links shortcode407313900Unsafe printing function
#2586Listdomer Core404592400Non-prefixed global variable
#2587WP All Import – Listings Import for Listify403427400Output is not escaped
#2588LLM Bot Tracker – AI Crawler Detection & Analytics401890700Database parameter is not escaped
#2589Logbook4033592k+Nonce verification recommended
#2590Mass Email To Users408481800Output is not escaped
#2591Modal Window – create popup modal window40417010k+Non-prefixed global variable
#2592Multiple Featured Images4050225k+Output is not escaped
#2593NextGEN Gallery Sidebar Widget405910600Output is not escaped
#2594Page Comments Off Please4017291k+Nonce verification recommended
#2595Paystack MemberPress407176400Output is not escaped
#2596Permalink Manager for WooCommerce40115208k+Short PHP open tag found
#2597Plugin Load Filter40761127k+Text Domain Mismatch
#2598Requirements Checklist4020022900Output is not escaped
#2599Private Google Calendars40227371k+Output is not escaped
#2600Quiz Cat – WordPress Quiz Plugin40151694k+Output is not escaped