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
#601Fix Alt Text245443461k+Non Singular String Literal Domain
#602FluentCRM – Email Newsletter, Automation, Email Marketing, Email Campaigns, Optins, Leads, and CRM Solution2419375380k+Direct Query
#603Food Store – Online Food Delivery & Pickup248621,9411k+Non-prefixed global variable
#604Football Pool241,0857331k+Output is not escaped
#605Force Sell for WooCommerce24697455600Text Domain Mismatch
#606Formidable PRO2PDF242184771k+Non-prefixed global variable
#607Forminator Forms – Contact Form, Payment Form & Custom Form Builder248261,314600k+Non-prefixed global variable
#608Fuse Social Floating Sidebar241,8381,57810k+Non-prefixed global variable
#609FV Simpler SEO247663082k+Text Domain Mismatch
#610FV Player 8243231,3831k+Non-prefixed function
#611Photo Gallery – Responsive Image Galleries by Supsystic242409120k+Text Domain Mismatch
#612Gallery by BestWebSoft – Customizable Image and Photo Galleries for WordPress2453632410k+Text Domain Mismatch
#613GD Mail Queue24502582700Output is not escaped
#614Cookie Banner for GDPR / CCPA – WPLP Cookie Consent241,2141,9249k+Non-prefixed global variable
#615Genealogical Tree – Family Tree & Ancestry for WordPress245601,641600Non-prefixed global variable
#616GEO my WP245542,0893k+Non-prefixed hook name
#617GG Woo Feed for WooCommerce Shopping Feed on Google and Other Channels244695921k+Non-prefixed global variable
#618Connector Wizard (formerly LC Wizard)242494481k+Non-prefixed function
#619Assets manager, dequeue scripts, dequeue styles for WordPress245922552k+Output is not escaped
#620ExactMetrics – Google Analytics Dashboard for WordPress (Website Stats Plugin)24118442300k+Nonce verification recommended
#621Simple Calendar – Google Calendar Plugin242,05359250k+Missing direct file access protection
#622Easy Google Maps241,76438920k+Non Singular String Literal Domain
#623GS Behance Portfolio – Display Projects, Gallery & Slider248551,617400Non-prefixed global variable
#624Hide Shipping Method For WooCommerce249461,44710k+Non-prefixed global variable
#625HT Mega Addons for Elementor – Elementor Widgets & Template Builder2412,3521,47470k+Text Domain Mismatch
#626Hummingbird Performance – Cache & Page Speed Optimization for Core Web Vitals | Critical CSS | Minify CSS | Defer CSS Javascript | CDN243,41086670k+Text Domain Mismatch
#627Import and export users and customers241,04035770k+Unsafe printing function
#628Infinite Uploads – Offload Media and Video to Cloud Storage24586722800Direct Query
#629Keap Official Opt-in Forms248291,0461k+Non-prefixed global variable
#630Social Slider Feed – Social Media Feed & Gallery Widgets2492970720k+Non-prefixed global variable
#631InstaWP Connect – 1-click WP Staging & Migration2425381140k+Non-prefixed global variable
#632Joli Table Of Contents246531,7557k+Non-prefixed global variable
#633Kenta Blocks – Responsive Blocks and block templates library245641,4052k+Non-prefixed global variable
#634KiviCare – Clinic & Patient Management System (EHR)242238802k+Direct Query
#635Koko Analytics – Privacy-Friendly WordPress Analytics2416639560k+Short PHP open tag found
#636Appointment Booking Plugin – LatePoint | Calendar & Scheduling for WordPress241,855953100k+Output is not escaped
#637LearnPress – Backup & Migration Tool243854695k+Output is not escaped
#638LifterLMS – WP LMS for eLearning, Online Courses, & Quizzes244141,17610k+Non-prefixed global variable
#639Limit Attempts by BestWebSoft – WordPress Anti-Bot and Security Plugin for Login and Forms245635484k+Text Domain Mismatch
#640Load More Products for WooCommerce2473145920k+Text Domain Mismatch
#641Local Delivery Drivers for WooCommerce241,8321,483900Non-prefixed global variable
#642Event Booking Manager for WooCommerce – Registration, RSVP, Calendar & Tickets249692,1407k+Non-prefixed global variable
#643Generate Images (AI) – Magic Post Thumbnail241,9401,7616k+Non-prefixed global variable
#644Mail Mint – Email Marketing, Newsletter, Email Automation & WooCommerce Emails244,6961,4805k+Text Domain Mismatch
#645Mailchimp for WooCommerce24523663200k+Non-prefixed global variable
#646MailerPress – Newsletter, email marketing & AI automation248053,9311k+Direct Query
#647Mailjet Email Marketing2443520610k+Unsafe printing function
#648Mang Board WP241,2134,7209k+Non-prefixed global variable
#649Admin Tweaks241,507206900Text Domain Mismatch
#650Mass Pages/Posts Creator247361,3641k+Non-prefixed global variable