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

RankPluginScoreErrorsWarningsInstallsUpdatedTop Issue
#1251Fancy Comments WordPress34359392k+Unsafe printing function
#1252FastPixel Cache – Optimize Page Speed: Compress Images, Minify, Clean Database & CDN34493244k+Request data is not unslashed
#1253Reviews Widgets for Google, Yelp & TripAdvisor3427421210k+Output is not escaped
#1254Featured Video Plus349910510k+Non-prefixed global variable
#1255Flash Toolkit3415924210k+Non-prefixed global variable
#1256FluentAuth – The Ultimate Authorization & Security Plugin for WordPress344422910k+Nonce verification recommended
#1257Geolocation IP Detection3422716720k+Output is not escaped
#1258Greenshift – animation and page builder blocks343327270k+Non-prefixed global variable
#1259HollerBox — Fast & Effective Popups & Lead-Generation3478922k+Output is not escaped
#1260Image Cleanup3452941k+Nonce verification recommended
#1261Import XML and RSS Feeds34260852k+Unsafe printing function
#1262Inavii Social Feed – Live Social Proof Gallery345321809k+Text Domain Mismatch
#1263JS Archive List3499313k+Output is not escaped
#1264Lenix Leads Collector3441424210k+Text Domain Mismatch
#1265MailChimp Forms by MailMunch341169410k+Output is not escaped
#1266MantraBrain Starter Sites | MantraBrain Theme Demo Importer34117611k+Output is not escaped
#1267Melhor Envio342427610k+Nonce verification recommended
#1268Meow Lightbox34755210k+Non Singular String Literal Domain
#1269Montonio for WooCommerce344425710k+Non-prefixed global variable
#1270Multi Step Form342771369k+Output is not escaped
#1271Ni WooCommerce Custom Order Status342561392k+Text Domain Mismatch
#1272One User Avatar | User Profile Picture3468190100k+Non-prefixed global variable
#1273Optima Express IDX347123710k+Non-prefixed class
#1274Child Theme Creator by Orbisius34863910k+Output is not escaped
#1275Payoneer Checkout34168416k+Exception output is not escaped
#1276PushEngage – Web Push Notifications, WooCommerce Automation & Chat Widget34543049k+Missing nonce verification
#1277PW WooCommerce Bulk Edit3421914920k+Unsafe printing function
#1278PW WooCommerce Gift Cards3423818520k+Output is not escaped
#1279Giveaways and Contests by RafflePress – Get More Website Traffic, Email Subscribers, and Social Followers3426186330k+Non-prefixed global variable
#1280Redirection34322932m+Non-prefixed class
#1281Responsive Filterable Portfolio344411561k+Output is not escaped
#1282Responsive Menu – Create Mobile-Friendly Menu34684070k+Nonce verification recommended
#1283RTMForm Builder3418820930k+Text Domain Mismatch
#1284Search Engine Insights for Google Search Console341741132k+Output is not escaped
#1285Search Meter341919420k+Output is not escaped
#1286Seriously Simple Stats34991265k+Output is not escaped
#1287TaxJar – Sales Tax Automation for WooCommerce342361705k+Text Domain Mismatch
#1288Testimonial Slider344482623k+Unsafe printing function
#1289Advance Product Search- Voice & Ajax Search for WooCommerce341319510k+Text Domain Mismatch
#1290Throws SPAM Away3432712310k+Missing Arg Domain
#1291Tools for Twitter34135871k+Output is not escaped
#1292Visual Form Builder348232920k+Direct Query
#1293Abandoned Cart Reports For WooCommerce341331632k+Output is not escaped
#1294Donation Platform for WooCommerce: Fundraising & Donation Management343314487k+Non-prefixed global variable
#1295Simple Discount Rules for Woocommerce341752145k+Nonce verification recommended
#1296Integration for WooCommerce and Zoho CRM, Books, Invoice, Inventory, Bigin342301542k+Output is not escaped
#1297Advanced Free Shipping for WooCommerce3427013240k+Text Domain Mismatch
#1298Easy Booking – WooCommerce Booking & Reservation Plugin341381724k+Output is not escaped
#1299Product Tabs for WooCommerce341969310k+Text Domain Mismatch
#1300WP-Cron Status Checker342771115k+Text Domain Mismatch