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
#2251Gutena Forms – Contact Form, Survey Form, Feedback Form, Booking Form, and Custom Form Builder378311320k+SQL query is not prepared
#2252HandL UTM Grabber / Tracker372714110k+Missing nonce verification
#2253Horizontal scrolling announcements372151408k+Output is not escaped
#2254Humans TXT3715986400Output is not escaped
#2255Icegram Mailer – Reliable Email Deliverability, No-code SMTP Replacement & Email logs37371021k+Non-prefixed global variable
#2256JS Help Desk – AI-Powered Support & Ticketing System37174067k+Missing nonce verification
#2257Language Switcher37811051k+Missing Translators Comment
#2258LearnPress – Course Review37674320k+Output is not escaped
#2259Lightbox with PhotoSwipe371792420k+Output is not escaped
#2260LiveJournal Importer3786678k+Output is not escaped
#2261MailMunch – Grow your Email List3782846k+Output is not escaped
#2262Maintenance Page3762333k+Output is not escaped
#2263Media Sweep – WordPress Media Cleaner37541341k+Interpolated SQL is not prepared
#2264Metorik – Reports & Email Automation for WooCommerce37757010k+Output is not escaped
#2265My Post Order37100114400Output is not escaped
#2266news ticker benaceur371,097311k+Output is not escaped
#2267NextGEN Scroll Gallery3733281k+Output is not escaped
#2268Ninja Van (MY)37212581k+Non-prefixed global variable
#2269Oliver POS – WooCommerce POS for iPhone, iPad & Android3715242800Interpolated SQL is not prepared
#2270WP All Export – Order Export for WooCommerce371091113k+Text Domain Mismatch
#2271OSM – OpenStreetMap371306410k+Output is not escaped
#2272Page scroll to id3738120100k+Missing nonce verification
#2273Panda Pods Repeater Field379260600Non-prefixed global variable
#2274Phoenix Media Rename3717510450k+Output is not escaped
#2275PNG to JPG371301739k+Interpolated SQL is not prepared
#2276Poptics – Popup Builder, Email Opt-ins, Exit-Intent & WooCommerce Popups Sales3759642k+SQL query is not prepared
#2277Product Image Hover Effects WOOC – WPSHARE2473716194800Output is not escaped
#2278Publish to Schedule37195434k+Text Domain Mismatch
#2279Quentn WP374251500Nonce verification recommended
#2280Recent Posts Widget With Thumbnails3722246100k+Output is not escaped
#2281RSS Image Feed37147162k+Output is not escaped
#2282Ryviu – Review Importer & Product Reviews3772951k+Output is not escaped
#2283Invoice1233713898400Text Domain Mismatch
#2284Send PDF for Contact Form 737223089k+Non-prefixed global variable
#2285Sensei LMS Certificates37973624k+Non-prefixed global variable
#2286Sezzle Woocommerce Payment371081051k+Text Domain Mismatch
#2287Snippet Shortcodes373591334k+Non Singular String Literal Domain
#2288Simple Image XML Sitemap37119161k+Output is not escaped
#2289Time Clock – A WordPress Employee & Volunteer Time Clock Plugin37166107500Output is not escaped
#2290Tracking Code Manager37554290k+Output is not escaped
#2291Tracking Script Manager3782572k+Non Singular String Literal Domain
#2292Ultimate WordPress Auction Plugin376231461k+Text Domain Mismatch
#2293User Meta Display377874500Output is not escaped
#2294UsersWP – Social Login37299912k+Text Domain Mismatch
#2295ValidateCertify Free37123971k+Text Domain Mismatch
#2296Featured Video for WordPress – VideographyWP37287931k+Unsafe printing function
#2297Views for WPForms – Display & Edit WPForms Entries on your site frontend3780641k+Output is not escaped
#2298Weather Atlas Widget376301119k+Output is not escaped
#2299Affiliate Sales in Google Analytics and other tools3724841k+Request data is not unslashed
#2300Widget Box Lite3731817900Output is not escaped