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
#1451EnvoThemes Demo Import312211403k+Output is not escaped
#1452Export Order Items for WooCommerce311001081k+Text Domain Mismatch
#1453Express Checkout via PayPal for WooCommerce31158200800Nonce verification recommended
#1454افزونه پیامک حرفه ای فراز اس ام اس31891801k+wp function not compatible with requires wp
#1455FastDup – Fastest WordPress Migration & Duplicator3183665k+wp function not compatible with requires wp
#1456Form Vibes – Database Manager for Forms3117628410k+Text Domain Mismatch
#1457FraudLabs Pro for WooCommerce311692131k+Request data is not unslashed
#1458g-FFL Checkout31249300600Request data is not unslashed
#1459WP Gravity Forms Constant Contact Plugin31684164600Text Domain Mismatch
#1460GS Pinterest Portfolio – Pins Grid, Masonry, User Profile, Popup & Board Widgets314021561k+Text Domain Mismatch
#1461HT Easy GA4 – Google Analytics WordPress Plugin31475936k+Text Domain Mismatch
#1462Easy HTTPS Redirection (SSL)31224100100k+Unsafe printing function
#1463Image Hotspot – Map Image Annotation31952833k+Non-prefixed global variable
#1464ImgSEO – AI Image Alt Text Generator & Image SEO Tools311677400Direct Query
#1465Interactive Image Map Builder311603811k+Non-prefixed global variable
#1466My Private Site3142519020k+Text Domain Mismatch
#1467Linguise – AI Automatic Multilingual Translation31612801k+Non-prefixed global variable
#1468Keywords to Links Converter31288144700Text Domain Mismatch
#1469Login rebuilder3140622620k+Non Singular String Literal Domain
#1470LWS Tools3110413410k+Request data is not unslashed
#1471Melapress Login Security31692782k+Non-prefixed global variable
#1472Openpay Stores Plugin31121751k+Non-prefixed global variable
#1473Patreon WordPress312763393k+Output is not escaped
#1474افزونه پیامک ووکامرس Persian WooCommerce SMS317226940k+Nonce verification recommended
#1475Portfolio, Gallery, Product Catalog – Grid KIT Portfolio31613296k+Non-prefixed global variable
#1476Post Pay Counter316392381k+Output is not escaped
#1477Product Configurator for WooCommerce31415573k+Non-prefixed hook name
#1478Active Products Tables for WooCommerce. Use constructor to create tables313644241k+Output is not escaped
#1479Push notification for Mobile and Web app318783400Non Singular String Literal Domain
#1480Qi Blocks314634560k+Non-prefixed global variable
#1481Qode Essential Addons315529510k+Non-prefixed global variable
#1482Raffle Play Woocommerce31151199800Output is not escaped
#1483Re:amaze Helpdesk & Live Chat3196115400Output is not escaped
#1484Rank Math SEO – AI SEO Tools to Dominate SEO Rankings31453734m+Non-prefixed global variable
#1485Social Share Buttons314621561k+Text Domain Mismatch
#1486Simple calendar for Elementor31125270500Direct Query
#1487Page Builder by SiteOrigin31226214400k+Output is not escaped
#1488Slider Carousel – Image Slider312241,2333k+Request data is not unslashed
#1489Smart Keywords Tool – 智能关键词插件3136133600Non Singular String Literal Domain
#1490Staatic – Static Site Generator for WordPress314201952k+SQL query is not prepared
#1491Stackable – Page Builder Gutenberg Blocks3147790100k+Non Singular String Literal Domain
#1492WP Testimonials3118345510k+Non-prefixed global variable
#1493Tutor LMS Elementor Addons3122745730k+Non-prefixed global variable
#1494User Spam Remover31115141k+Output is not escaped
#1495Blacklist Manager – WooCommerce Anti-Fraud, Blacklist & Checkout Verification312848302k+Missing nonce verification
#1496Web Push Notifications – Webpushr3116929310k+Output is not escaped
#1497Project Manager – AI Powered Project Management, Task Management, Kanban Board & Time Tracker31639356k+Interpolated SQL is not prepared
#1498Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets31837295100k+Unsafe printing function
#1499WooCommerce Legacy REST API31324177400k+Missing Translators Comment
#1500Tooltips for WordPress313122525k+Output is not escaped