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
#1BulletProof Security05,0484,94920k+Output is not escaped
#2Live Shopping & Shoppable Videos For WooCommerce079174400Non-prefixed global variable
#3Plugin Check (PCP)012814010k+Non-prefixed global variable
#4Themify Builder95,3892,2455k+Text Domain Mismatch
#5JetBackup – Backup, Restore & Migrate101,567156200k+Exception output is not escaped
#6404 Solution155821,53210k+Non-prefixed class
#7Easy WP SMTP – WordPress SMTP and Email Logs: Gmail SMTP, Office 365, Outlook, Custom SMTP, and more1545166500k+Database parameter is not escaped
#8MDTF – Meta Data and Taxonomies Filter161,5501,9561k+Non-prefixed global variable
#9AnyComment174454495k+Output is not escaped
#10RestroPress – Online Food Ordering System175363,2361k+Non-prefixed global variable
#11Shopping Cart & eCommerce Store177,45317,8663k+Non-prefixed global variable
#12WPtouch – Make your WordPress Website Mobile-Friendly171,46632550k+Text Domain Mismatch
#13Administrator Z182,061799400Output is not escaped
#14Advanced File Manager – Ultimate File Manager for WordPress And Document Library Solution181,229923100k+Exception output is not escaped
#15JetFormBuilder — Dynamic Blocks Form Builder182,1311,62380k+Text Domain Mismatch
#16WPPizza – A Restaurant Plugin184,6892,7031k+Text Domain Mismatch
#17Block Slider – Responsive Image Slider, Video Slider & Post Slider195551,2913k+Non-prefixed global variable
#18GiveWP – Donation Plugin and Fundraising Platform193,4223,570100k+Output is not escaped
#19Go Fetch Jobs (for WP Job Manager)191,4101,741600Non-prefixed global variable
#20Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)193,2753,2289k+Output is not escaped
#21Matomo Analytics – Powerful, Privacy-First Insights for WordPress191,993892100k+Exception output is not escaped
#22Netgsm193523481k+Non-prefixed global variable
#23Verified Reviews (Avis Vérifiés)196711,136700Non-prefixed global variable
#24Really Simple Security – Simple and Performant Security (formerly Really Simple SSL)195303753m+Missing Translators Comment
#25Scrollsequence – Cinematic Scroll Image Animation Plugin198781,5283k+Non-prefixed global variable
#26SendPress Newsletters192,2931,4221k+Output is not escaped
#27SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments195431,15080k+Non-prefixed global variable
#28Pixel Manager for WooCommerce – Conversion Tracking, Google Ads, GA4, TikTok, Dynamic Remarketing196324640k+Non-prefixed hook name
#29WP Email Template193443452k+Exception output is not escaped
#30WPOSS阿里云对象存储19269315900Non-prefixed namespace
#31AweBooking – Hotel Booking System203095141k+Non-prefixed global variable
#32Brizy – Page Builder2058572660k+Output is not escaped
#33Broadstreet20434273800Output is not escaped
#34Post Form – Registration Form – Profile Form for User Profiles – Frontend Content Forms for User Submissions (UGC)207362,112900Non-prefixed global variable
#35Cost Calculator Builder2032376620k+Non-prefixed global variable
#36SysBasics Customize My Account for WooCommerce – Live My Account Customizer207439117k+Non-prefixed global variable
#37Download Monitor204231,36780k+Non-prefixed hook name
#38Duplicator – Backups & Migration Plugin – Cloud Backups, Scheduled Backups, & More202,8781,9881m+Non-prefixed global variable
#39Event Organiser201,10454420k+Text Domain Mismatch
#40EventPrime – Events Calendar, Bookings, Tickets & AI208464,2247k+Non-prefixed global variable
#41GoUrl Bitcoin Payment Gateway & Paid Downloads & Membership201,832720700Non Singular String Literal Domain
#42MBE eShip205277401k+Non-prefixed global variable
#43Brevo – Email, SMS, Web Push, Chat, and more.20460646100k+Request data is not unslashed
#44MAS Videos205191,6931k+Non-prefixed global variable
#45Microthemer Lite – Visual Editor to Customize CSS201,0041,69910k+Non-prefixed global variable
#46Nimble Page Builder201,5911,68430k+Missing Arg Domain
#47Shipping for Nova Poshta20598923400Output is not escaped
#48پلاگین پرداخت دلخواه20584446900Text Domain Mismatch
#49Pix por Piggly (para Woocommerce)205471954k+Exception output is not escaped
#50Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score201472313k+Exception output is not escaped