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
#1101HireZoot – (WP Job Openings) Job Listings, Career Page & Recruitment Tool311453940k+Non-prefixed global variable
#1102WP Simple Booking Calendar3133738120k+Output is not escaped
#1103WP Visitor Statistics (Real Time Traffic)3135369120k+Nonce verification recommended
#1104WP ULike – Like & Dislike Buttons for Engagement and Feedback3126935860k+Output is not escaped
#1105WP125311781843k+Unsafe printing function
#1106Hosting Benchmark tool312021154k+rand rand
#1107YITH Color and Label Variations for WooCommerce313931,4289k+Non-prefixed global variable
#1108YITH WooCommerce Brands Add-On313931,4259k+Non-prefixed global variable
#1109YITH WooCommerce Catalog Mode313801,41860k+Non-prefixed global variable
#1110YITH WooCommerce Featured Video313831,4343k+Non-prefixed global variable
#1111YITH Frequently Bought Together for WooCommerce313891,4528k+Non-prefixed global variable
#1112YITH WooCommerce Order & Shipment Tracking313801,4207k+Non-prefixed global variable
#1113YITH Request a Quote for WooCommerce314081,48110k+Non-prefixed global variable
#1114YITH WooCommerce Tab Manager313951,4294k+Non-prefixed global variable
#1115Zendesk Support for WordPress31195882k+Output is not escaped
#1116PayPal Zettle POS for WooCommerce31302444k+Exception output is not escaped
#1117Advanced Access Manager – Access Governance for WordPress3284962100k+Output is not escaped
#1118annasta Filters for WooCommerce321,0734412k+Text Domain Mismatch
#1119APCu Manager3215112610k+Output is not escaped
#1120Author Avatars List/Block32851354k+Non-prefixed hook name
#1121Auto YouTube Importer323381731k+Text Domain Mismatch
#1122Blog2Social: Social Media Auto Post & Scheduler32795550k+Direct Query
#1123BuddyPress for LearnDash321902841k+Output is not escaped
#1124Addi – Cuotas que se adaptan a ti321062102k+Direct Query
#1125Vimeotheque – Vimeo WordPress Plugin & Video Gallery326422642k+Unsafe printing function
#1126Cooked – Recipe Management324622753k+Output is not escaped
#1127Currency Switcher for WooCommerce3235726310k+Text Domain Mismatch
#1128Download Attachments32691888k+Non-prefixed hook name
#1129Fable Extra32792824k+Non-prefixed global variable
#1130Freesoul Deactivate Plugins – Disable plugins on individual WordPress pages32537739k+Nonce verification recommended
#1131Insights from Google PageSpeed3241447520k+Text Domain Mismatch
#1132GSheetConnector For WPForms – WPForms Google Sheets Integration (Real-Time Sync)321201458k+Non-prefixed global variable
#1133Gwolle Guestbook3226852820k+Output is not escaped
#1134HurryTimer – An Scarcity and Urgency Countdown Timer for WordPress & WooCommerce3239614220k+Output is not escaped
#1135ThumbPress – Compress Images, Manage Thumbnails, Detect Image Issues, WebP/AVIF, Lazy Loading, Hotlinking & More3210130830k+Non-prefixed global variable
#1136Image Slider Slideshow324091712k+Text Domain Mismatch
#1137Jetpack VaultPress Backup3255421120k+Text Domain Mismatch
#1138MapPress Maps for WordPress3269413330k+Missing Arg Domain
#1139WP Mobile Menu – The Mobile-Friendly Responsive Menu3299019580k+Output is not escaped
#1140Popup Builder & Popup Maker for WordPress – OptinMonster Email Marketing and Lead Generation32462411m+Text Domain Mismatch
#1141Organization chart321873345k+SQL query is not prepared
#1142Pagination by BestWebSoft – Customizable WordPress Content Splitter and Navigation Plugin324461735k+Text Domain Mismatch
#1143DEPRECATED – Shipmondo – A complete shipping solution for WooCommerce321661195k+Output is not escaped
#1144Account Engagement32115742k+Output is not escaped
#1145گرویتی فرم فارسی3219017420k+Text Domain Mismatch
#1146Plugin Organizer3232625710k+Output is not escaped
#1147TS Poll – Survey, Versus Poll, Image Poll, Video Poll325701714k+Text Domain Mismatch
#1148Volunteer Sign Up Sheets329674011k+Output is not escaped
#1149Payment Plugins for PayPal WooCommerce3221412590k+Missing Translators Comment
#1150Quick Featured Images3243632350k+Non-prefixed global variable