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
#1051YITH WooCommerce Product Slider Carousel303891,4794k+Non-prefixed global variable
#1052Zoho CRM Lead Magnet301011,0253k+Request data is not unslashed
#1053Advanced Woo Search – Product Search for WooCommerce3122837770k+Nonce verification recommended
#1054All-in-one contact buttons – WPSHARE247311081134k+Non-prefixed global variable
#1055Titan Anti-spam & Security – Brute Force Protection, 2FA & Spam Filter315719650k+Nonce verification recommended
#1056Asgaros Forum3116741210k+Output is not escaped
#1057The SEO Framework – Fast, Automated, Effortless.31363609200k+Non-prefixed global variable
#1058Better Robots.txt – AI-Ready Crawl Control & Bot Governance3190856k+Text Domain Mismatch
#1059cformsII317775364k+Unsafe printing function
#1060CleverReach® WP31103934k+Non-prefixed global variable
#1061Compliance by Hu-manity.co31154336900k+Missing nonce verification
#1062Copy Anything to Clipboard for WordPress – Copy Button, Copy Text & Copy Code3152513110k+Text Domain Mismatch
#1063Customer Email Verification for WooCommerce311922902k+Non-prefixed global variable
#1064MultiVendorX – WooCommerce Multivendor Marketplace AI Powered Solutions316642733k+Text Domain Mismatch
#1065Domain Mapping System | Create Microsites with Multiple Alias Domains (multisite optional)311132332k+Non-prefixed namespace
#1066EnvoThemes Demo Import312211403k+Output is not escaped
#1067افزونه پیامک حرفه ای فراز اس ام اس31891802k+wp function not compatible with requires wp
#1068FastDup – Fastest WordPress Migration & Duplicator3183665k+wp function not compatible with requires wp
#1069Form Vibes – Database Manager for Forms3117628410k+Text Domain Mismatch
#1070FraudLabs Pro for WooCommerce311692131k+Request data is not unslashed
#1071GS Pinterest Portfolio – Pins Grid, Masonry, User Profile, Popup & Board Widgets314021561k+Text Domain Mismatch
#1072HT Easy GA4 – Google Analytics WordPress Plugin31475936k+Text Domain Mismatch
#1073Easy HTTPS Redirection (SSL)31224100100k+Unsafe printing function
#1074Image Hotspot – Map Image Annotation31952833k+Non-prefixed global variable
#1075My Private Site3142519020k+Text Domain Mismatch
#1076Linguise – AI Automatic Multilingual Translation31612801k+Non-prefixed global variable
#1077Login rebuilder3140622620k+Non Singular String Literal Domain
#1078LWS Tools3110413410k+Request data is not unslashed
#1079Melapress Login Security31692782k+Non-prefixed global variable
#1080Patreon WordPress312763393k+Output is not escaped
#1081افزونه پیامک ووکامرس Persian WooCommerce SMS317226940k+Nonce verification recommended
#1082Portfolio, Gallery, Product Catalog – Grid KIT Portfolio31613296k+Non-prefixed global variable
#1083Post Pay Counter316392382k+Output is not escaped
#1084Product Configurator for WooCommerce31415573k+Non-prefixed hook name
#1085Active Products Tables for WooCommerce. Use constructor to create tables313644241k+Output is not escaped
#1086Qode Essential Addons315529510k+Non-prefixed global variable
#1087Rank Math SEO – AI SEO Tools to Dominate SEO Rankings31453734m+Non-prefixed global variable
#1088Slider Carousel – Image Slider312241,2333k+Request data is not unslashed
#1089Staatic – Static Site Generator for WordPress314201952k+SQL query is not prepared
#1090Stackable – Page Builder Gutenberg Blocks3147790100k+Non Singular String Literal Domain
#1091WP Testimonials3118345510k+Non-prefixed global variable
#1092Tutor LMS Elementor Addons3122745730k+Non-prefixed global variable
#1093User Spam Remover31115141k+Output is not escaped
#1094Blacklist Manager – WooCommerce Anti-Fraud, Blacklist & Checkout Verification312848302k+Missing nonce verification
#1095Web Push Notifications – Webpushr3116929310k+Output is not escaped
#1096Project Manager – AI Powered Project Management, Task Management, Kanban Board & Time Tracker31639336k+Interpolated SQL is not prepared
#1097Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets31837295100k+Unsafe printing function
#1098WooCommerce Legacy REST API31324177400k+Missing Translators Comment
#1099Tooltips for WordPress313122525k+Output is not escaped
#1100WPGatsby31125553k+Text Domain Mismatch