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
#1401Rublon Multi-Factor Authentication (MFA)30216160500Output is not escaped
#1402SmartCrawl SEO checker, analyzer & optimizer303471,30720k+Non-prefixed global variable
#1403SMTP for Amazon SES – YaySMTP301971223k+Exception output is not escaped
#1404Subscriptions for WooCommerce3011,19010k+Non-prefixed global variable
#1405Taboola30891471k+Output is not escaped
#1406User Avatar – Reloaded30352171900Text Domain Mismatch
#1407User Role by BestWebSoft – Add and Customize Roles and Capabilities in WordPress304842803k+Text Domain Mismatch
#1408Waitlist Woocommerce ( Back in stock notifier )302723114k+Output is not escaped
#1409Checkout with Cash App on WooCommerce301223082k+Non-prefixed global variable
#1410Dropify301302522k+Nonce verification recommended
#1411Webling30147313500Input is not validated
#1412FOX – Currency Switcher Professional for WooCommerce302111,02250k+Non-prefixed global variable
#1413WooCommerce Stripe Payment Gateway30173591700k+Non-prefixed hook name
#1414WooPayments: Integrated WooCommerce Payments30182308900k+Exception output is not escaped
#1415WCPOS – Point of Sale (POS) plugin for WooCommerce30772285k+Nonce verification recommended
#1416WooCommerce Tax (formerly WooCommerce Shipping & Tax)30103198600k+Non-prefixed class
#1417WP 2FA – Two-factor authentication for WordPress30269380100k+Exception output is not escaped
#1418WP Docs302682711k+Output is not escaped
#1419WP Event Aggregator: Import Eventbrite events, Meetup events, social events and any iCal Events into Event Calendar301134191k+Non-prefixed global variable
#1420remarketable3028193600Output is not escaped
#1421WP Inventory Manager308562331k+Output is not escaped
#1422WP Mail SMTP by WPForms – The Most Popular SMTP and Email Log Plugin30323464m+Non-prefixed hook name
#1423Photo Gallery Slideshow & Masonry Tiled Gallery308063521k+Output is not escaped
#1424WP Restaurant Price List3029595500Text Domain Mismatch
#1425WPOrLogin – Custom Login, Social Login, Limit Attempts, Hide Login & reCAPTCHA304842222k+Unsafe printing function
#1426WPS Cleaner3043049120k+Output is not escaped
#1427YayPricing – WooCommerce Dynamic Pricing & Discounts301741863k+Non-prefixed global variable
#1428YASR – Yet Another Star Rating Plugin for WordPress3025237810k+Output is not escaped
#1429YITH Pre-Order for WooCommerce303971,4646k+Non-prefixed global variable
#1430YITH WooCommerce Popup303951,5512k+Non-prefixed global variable
#1431YITH WooCommerce Product Slider Carousel303891,4794k+Non-prefixed global variable
#1432Zoho CRM Lead Magnet301011,0253k+Request data is not unslashed
#1433Advanced Woo Search – Product Search for WooCommerce3122837770k+Nonce verification recommended
#1434All-in-one contact buttons – WPSHARE247311081134k+Non-prefixed global variable
#1435Titan Anti-spam & Security – Brute Force Protection, 2FA & Spam Filter315719650k+Nonce verification recommended
#1436Asgaros Forum3116741210k+Output is not escaped
#1437The SEO Framework – Fast, Automated, Effortless.31363609200k+Non-prefixed global variable
#1438AI ChatBot with ChatGPT and Content Generator by AYS31170378400Non-prefixed global variable
#1439SEO合集(支持百度/Google/Bing/头条推送)31131,407800Direct Query
#1440Яндекс Доставка (Boxberry)3146150600Missing nonce verification
#1441České služby pro WordPress31951391k+Output is not escaped
#1442cformsII317775364k+Unsafe printing function
#1443CleverReach® WP31103934k+Non-prefixed global variable
#1444Compliance by Hu-manity.co31153335900k+Missing nonce verification
#1445Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code3152513110k+Text Domain Mismatch
#1446Customer Email Verification for WooCommerce311922902k+Non-prefixed global variable
#1447MultiVendorX – WooCommerce Multivendor Marketplace AI Powered Solutions316642733k+Text Domain Mismatch
#1448DirectoryPress Frontend31402563800Non-prefixed global variable
#1449Domain Mapping System | Create Microsites with Multiple Alias Domains (multisite optional)311132332k+Non-prefixed namespace
#1450Easy Upload Files During Checkout31220208500Unsafe printing function