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
#1151Ultimate Store Kit – Addon For WooCommerce, EDD and Elementor32572934k+Post Not In exclude
#1152Unbounce Landing Pages321698610k+Output Not Escaped
#1153WebwinkelKeur: Webshop keurmerk & reviews for WordPress32200474k+Echo Found
#1154BEAR – Bulk Editor and Products Manager Professional for WooCommerce by Pluginus.Net32593340k+Non Prefixed Variable Found
#1155wp-jalali322196610k+Text Domain Mismatch
#1156SEOPress – AI SEO Plugin & On-site SEO32138429300k+Non Prefixed Variable Found
#1157WP-Stats322371262k+Output Not Escaped
#1158Privacy Policy Generator – WPLP Legal Pages322639610k+Non Prefixed Variable Found
#1159YITH Infinite Scrolling323871,41710k+Non Prefixed Variable Found
#1160YITH WooCommerce Badge Management324131,44610k+Non Prefixed Variable Found
#1161YITH WooCommerce Compare324221,508100k+Non Prefixed Variable Found
#1162YITH WooCommerce Quick View323881,42090k+Non Prefixed Variable Found
#1163Extra Product Options Builder for WooCommerce331011552k+Non Prefixed Hookname Found
#1164Advanced Forms for ACF331692783k+Non Prefixed Hookname Found
#1165Auto Listings – Car Listings & Car Dealership Plugin for WordPress33803212k+Non Prefixed Variable Found
#1166Premium Portfolio Features for Phlox theme3320413740k+Output Not Escaped
#1167AWeber – Free Sign Up Form and Landing Page Builder Plugin for Lead Generation and Email Newsletter Growth33332299k+Non Prefixed Variable Found
#1168Nexi XPay334962776k+Text Domain Mismatch
#1169Chartify – WordPress Chart Plugin33764113k+Non Prefixed Variable Found
#1170ChatHelp – Click to Chat Button, WooCommerce Chat to Order & Floating Chat Form33572041k+Non Prefixed Variable Found
#1171Clicky Analytics331669210k+Output Not Escaped
#1172Companion Auto Update3315929850k+Direct Query
#1173Companion Sitemap Generator – Simple, Smart, and SEO-Ready33118577k+Missing Translators Comment
#1174Cooked – Recipe Management334122713k+Output Not Escaped
#1175Easy Timer33784501k+Non Prefixed Variable Found
#1176EchBay Phonering Alo3374471k+Output Not Escaped
#1177Gallery Custom Links33646230k+Non Singular String Literal Domain
#1178GDPR Cookie Compliance – Cookie Banner, Cookie Consent, Cookie Notice for CCPA, EU Cookie Law3348370300k+Non Prefixed Variable Found
#1179Flipbox – Awesomes Flip Boxes Image Overlay334007,27910k+Input Not Validated
#1180ThumbPress – Compress Images, Manage Thumbnails, Detect Image Issues, WebP/AVIF, Lazy Loading, Hotlinking & More3310128930k+Non Prefixed Variable Found
#1181Image Source Control Lite – Show Image Credits and Captions331402213k+Non Prefixed Hookname Found
#1182ImageLinks – Interactive Image Builder with Hotspots33517901k+Text Domain Mismatch
#1183WPZOOM Social Feed Widget & Block3331027860k+Unsafe Printing Function
#1184Intagrate Lite33941524k+date date
#1185ITRO Popup Plugin335911356k+Output Not Escaped
#1186Logo Showcase Ultimate – Logo Carousel, Logo Slider & Logo Grid332741063k+Text Domain Mismatch
#1187LWSCache33471046k+Non Prefixed Variable Found
#1188Forms for Mailchimp by Optin Cat – Grow Your MailChimp List33711332k+missing direct file access protection
#1189MWB HubSpot for WooCommerce – CRM, Abandoned Cart, Email Marketing, Marketing Automation & Analytics33262797k+Non Prefixed Variable Found
#1190MAS Companies For WP Job Manager33623081k+Non Prefixed Hookname Found
#1191Members – Membership & User Role Editor Plugin33234244300k+Output Not Escaped
#1192Mollie Payments for WooCommerce3370123100k+Dynamic Hookname Found
#1193News Announcement Scroll332372592k+Non Prefixed Variable Found
#1194PhonePe Payment Solutions337610510k+missing direct file access protection
#1195Pixelgrade Assistant336651412k+Text Domain Mismatch
#1196Post Lists View Custom334621502k+Missing Arg Domain
#1197PublishPress Checklists: Pre-Publishing Approval Checklist – Validate Post Requirements331401823k+Missing Translators Comment
#1198Frisbii Pay33912921k+Non Prefixed Variable Found
#1199Schema & Structured Data for WP & AMP3363246100k+Non Prefixed Variable Found
#1200SMTP2GO for WordPress – Email Made Easy3318611130k+Output Not Escaped