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
#2851wp-Monalisa485694700Direct Query
#2852WP Remote Users Sync483551176k+Text Domain Mismatch
#2853WS Action Scheduler Cleaner4813802k+error log error log
#2854SiteEase Bulk Delete Manager495072900Direct Query
#2855Analytics by BestWebSoft – Google Analytics Dashboard and Statistic Plugin for WordPress494781761k+Text Domain Mismatch
#2856CIO Custom Fields Importer49238500Output is not escaped
#2857Download Media Library4922401k+Text Domain Mismatch
#2858Drag and Drop Multiple File Upload for WooCommerce49114295k+Text Domain Mismatch
#2859GDPR Tools: comment ip removement4918132k+Unsafe printing function
#2860Easy Property Listings4960665k+wp function not compatible with requires wp
#2861Import into Easy Property Listings49335241k+Text Domain Mismatch
#2862Anti-Spam Protection – No API Key, GDPR Friendly4921061k+Direct Query
#2863GamiPress – Multimedia Content491125500Nonce verification recommended
#2864OneClick Chat to Order496774140k+Text Domain Mismatch
#2865Plugins Last Updated Column492114700Output is not escaped
#2866ReCrawler4910404k+Direct Query
#2867Search in Place4974573k+wp function not compatible with requires wp
#2868Secondary Product Image for WooCommerce4925292k+Output is not escaped
#2869Simple MyISAM to InnoDB4911221k+Output is not escaped
#2870SKT Themes Demo Import492181044k+Text Domain Mismatch
#2871Taxonomy Images4938509k+Output is not escaped
#2872Users by Date Registered4913201k+Nonce verification recommended
#2873Was This Helpful?4919281k+Output is not escaped
#2874PDF Invoices & Packing Slips for WooCommerce – Challan49561514k+Non-prefixed global variable
#2875Rede Itaú for WooCommerce — Payment PIX, Credit Card and Debit4951451k+Missing nonce verification
#2876WP Sitemap Page494314200k+Missing Translators Comment
#2877WP Smart Import : Import any XML File to WordPress49283021k+Non-prefixed global variable
#2878Auto Ping Booster Free501821900Setting is missing a sanitization callback
#2879BuddyPress Groups Extras503051400Missing direct file access protection
#2880File Manager50427210k+Missing direct file access protection
#2881Send Emails with Mandrill50361416k+Non-prefixed global variable
#2882Server Info – System Health & Diagnostics Suite5015463k+Input is not sanitized
#2883Simple User Listing502756900Non-prefixed global variable
#2884Table Addons for Elementor50922920k+wp function not compatible with requires wp
#2885Theme Demo Import50101955k+Non-prefixed hook name
#2886BestWebSoft's Twitter50477174900Text Domain Mismatch
#2887User Activity Tracking and Log50302593k+Non-prefixed global variable
#2888WPML Multilingual for BuddyPress and BuddyBoss5118216k+SQL query is not prepared
#2889Counter Box – Add Countdowns, Timers & Dynamic Counters to WordPress5131161k+Missing nonce verification
#2890Firelight Lightbox517897200k+Non-prefixed global variable
#2891GamiPress – Reset User511427400Interpolated SQL is not prepared
#2892Interactive Globes – 3D World Maps5124104400Non-prefixed global variable
#2893Lite Video Embed513571k+Output is not escaped
#2894OnSale Page for WooCommerce5130442k+Text Domain Mismatch
#2895Quotes and Tips by BestWebSoft514851901k+Text Domain Mismatch
#2896SePay Gateway5112392k+Nonce verification recommended
#2897Popular Brand Icons – Simple Icons5120123k+Output is not escaped
#2898Trustpilot Reviews51145230k+Missing nonce verification
#2899Swift SMTP (formerly Welcome Email Editor)5112627k+Missing nonce verification
#2900WP Counter Up – Animated Number Counter & Milestone Showcase51182391k+Non-prefixed global variable