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
#751Ultimate WP Mail24400546700Unsafe printing function
#752Unlimited Elements For Elementor247102,093300k+Non-prefixed global variable
#753User Registration & Membership – Free & Paid Memberships, Subscriptions, Content Restriction, User Profile, Custom User Registration & Login Builder246643,32150k+Non-prefixed global variable
#754Vimeography: Vimeo Video Gallery WordPress Plugin24982125k+Nonce verification recommended
#755Visitor Traffic Real Time Statistics2447393030k+Non-prefixed global variable
#756PDF Ink Lite – Free PDF Watermark & Password Protection242265612k+Non-prefixed global variable
#757WCMultiShipping — Mondial Relay, Inpost & Chronopost for WooCommerce247304995k+Output is not escaped
#758Product Feed Manager for WooCommerce – CTX Feed – Support 220+ Shopping & Social Channels241,6151,38170k+Text Domain Mismatch
#759Disable Updates – Updates Manager, Disable Automatic Updates, Disable All Updates2452213510k+Output is not escaped
#760Widget Detector for Elementor241,0571,5671k+Non-prefixed global variable
#761Conditional Fees for WooCommerce Lite245921,298500Non-prefixed global variable
#762Product Size Charts Plugin for WooCommerce241,0421,4229k+Non-prefixed global variable
#763Bulk Edit Products for WooCommerce – WP Sheet Editor2494193610k+Text Domain Mismatch
#764Extra Fees for WooCommerce241,1131,5697k+Non-prefixed global variable
#765Coupon Affiliates – Affiliate Plugin for WooCommerce241,0223,0745k+Non-prefixed global variable
#766Bulk Edit Coupons for WooCommerce – WP Sheet Editor241,006950500Text Domain Mismatch
#767Premmerce WooCommerce Customers Manager245641,327700Non-prefixed global variable
#768Enhanced Ecommerce Google Analytics for WooCommerce247711,4802k+Non-prefixed global variable
#769Flat Rate Shipping Method for WooCommerce241,2381,7725k+Non-prefixed global variable
#770XT Floating Cart for WooCommerce241,2492,0234k+Non-prefixed global variable
#771Payment Plugins Braintree For WooCommerce247317552k+Output is not escaped
#772Payment Gateway for PayPal on WooCommerce2415356110k+Nonce verification recommended
#773pensopay Payments243972462k+Output is not escaped
#774Premmerce Permalink Manager for WooCommerce246331,33550k+Non-prefixed global variable
#775Product Attachment for WooCommerce241,2331,7777k+Non-prefixed global variable
#776NextMove Lite – Thank You Page for WooCommerce2491685710k+Non-prefixed global variable
#777wallee24331220400Exception output is not escaped
#778Country Based Payments for WooCommerce245311,2953k+Non-prefixed global variable
#779EU VAT Assistant for WooCommerce241,7424955k+Non Singular String Literal Domain
#780European VAT Compliance Assistant for WooCommerce245153173k+Output is not escaped
#781Store Exporter – Export WooCommerce Products, Orders, Subscriptions, Customers244801,2727k+Non-prefixed function
#782AgenWebsite Shipping – Plugin Ongkos Kirim & Generate Resi Otomatis Semua Kurir Indonesia241,1991,041500Text Domain Mismatch
#783WPML Multilingual & Multicurrency for WooCommerce241,4531,618100k+SQL query is not prepared
#784WC Shop Sync – Square Payment Gateway and Product Synchronization for WooCommerce247611,612900Non-prefixed global variable
#785AI ChatBot for eCommerce – WoowBot24145528900Request data is not unslashed
#786Yoast SEO – Advanced SEO with real-time guidance and built-in AI2415938610m+Non-prefixed global variable
#787WP Admin Audit241,0517811k+error log print r
#788WP-Appbox244183902k+Missing Arg Domain
#789Auto Affiliate Links243754073k+Output is not escaped
#790WP Contact Slider – Contact Form Slider Widget241,3552,5899k+Non-prefixed global variable
#791WP Discourse241031141k+Nonce verification recommended
#792WP Fastest Cache – WordPress Cache Plugin245417531m+Unsafe printing function
#793Iptanus File Upload245091,32510k+Non-prefixed function
#794WP Frontend Delete Account245371,3784k+Non-prefixed global variable
#795WP Hotel Booking241,2321,5337k+Non-prefixed global variable
#796WP Job Portal – AI-Powered Recruitment System for Company or Job Board website24691,0898k+Missing Version
#797WP Layouts243491463k+Text Domain Mismatch
#798WP-Members Membership Plugin2466938250k+Output is not escaped
#799WP Meta and Date Remover246651,31490k+Non-prefixed global variable
#800WP Notification Bell247361,591700Non-prefixed global variable