WordPress.DB.DirectDatabaseQuery.DirectQuery

Direct Query

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
#1551WP Gravity Forms HubSpot32771160600Text Domain Mismatch
#1552CRM Perks Integration for Gravity Forms and Salesforce328071781k+Text Domain Mismatch
#1553WP Gravity Forms Zoho CRM and Bigin32750174400Text Domain Mismatch
#1554GlotPress32403103500Unsafe printing function
#1555Insights from Google PageSpeed3241447520k+Text Domain Mismatch
#1556GSheetConnector For Ninja Forms32165931k+Unsafe printing function
#1557GSheetConnector For WPForms – WPForms Google Sheets Integration (Real-Time Sync)321201458k+Non-prefixed global variable
#1558Gwolle Guestbook3226952720k+Output is not escaped
#1559Honeypot Toolkit32155770400Missing nonce verification
#1560HTML5 jQuery Audio Player322511531k+Unsafe printing function
#1561Image Slider Slideshow324091712k+Text Domain Mismatch
#1562Jetpack VaultPress Backup3255421120k+Text Domain Mismatch
#1563Juiz Last Tweet Widget3213653500Output is not escaped
#1564Manager for IcoMoon3227068400Short PHP open tag found
#1565MapPress Maps for WordPress3269513330k+Missing Arg Domain
#1566Members – Membership & User Role Editor Plugin32233259300k+Output is not escaped
#1567MetaSlider Gallery – Image Gallery, Lightbox Galleries, Modal Windows321596210k+Output is not escaped
#1568WP Mobile Menu – The Mobile-Friendly Responsive Menu3299019580k+Output is not escaped
#1569Moyasar32539219700Text Domain Mismatch
#1570Popup Builder & Popup Maker for WordPress – OptinMonster Email Marketing and Lead Generation32462411m+Text Domain Mismatch
#1571Organization chart321873345k+SQL query is not prepared
#1572Pagination by BestWebSoft – Customizable WordPress Content Splitter and Navigation Plugin324461735k+Text Domain Mismatch
#1573DEPRECATED – Shipmondo – A complete shipping solution for WooCommerce321661195k+Output is not escaped
#1574Account Engagement32115742k+Output is not escaped
#1575PilotPress32150285900Output is not escaped
#1576Plugin Organizer3232625710k+Output is not escaped
#1577TS Poll – Survey, Versus Poll, Image Poll, Video Poll325701714k+Text Domain Mismatch
#1578Volunteer Sign Up Sheets329674011k+Output is not escaped
#1579Quick Featured Images3243632350k+Non-prefixed global variable
#1580Relevanssi – A Better Search3286266100k+Missing direct file access protection
#1581Responsive Filterable Portfolio Gallery – Media Grid & Video Portfolio324361631k+Output is not escaped
#1582Restrict Usernames Emails Characters323273671k+Output is not escaped
#1583Revolut Gateway for WooCommerce32851576k+Input is not sanitized
#1584RSS for Yandex Turbo3268730720k+Unsafe printing function
#1585Simple Ajax Chat – Add a Fast, Secure Chat Box321082662k+Output is not escaped
#1586Site Search 36032202213400Output is not escaped
#1587Sky Addons for Elementor32853512k+Non-prefixed namespace
#1588Split Test For Elementor32981323k+Non-prefixed global variable
#1589Spoki – Chat Buttons and WooCommerce Notifications321,074260700Unsafe printing function
#1590Stock Locations for WooCommerce325493601k+Output is not escaped
#1591Stock Sync for WooCommerce323622321k+Text Domain Mismatch
#1592Subscribe2 – Form, Email Subscribers & Newsletters323241010k+Direct Query
#1593System Dashboard32912051k+Request data is not unslashed
#1594Thrive Automator32848410k+SQL query is not prepared
#1595TK Google Fonts GDPR Compliant32582341k+Output is not escaped
#1596Tumult Hype Animations32561171k+Output is not escaped
#1597Ultimate Store Kit – Addon For WooCommerce, EDD and Elementor32572934k+Post Not In exclude
#1598Unbounce Landing Pages321698610k+Output is not escaped
#1599Multi Currency For WooCommerce3287701k+Non-prefixed global variable
#1600WebwinkelKeur: Webshop keurmerk & reviews for WordPress32200474k+Short PHP open tag found