PluginCheck.CodeAnalysis.SettingSanitization.register_settingMissing

Setting is missing a sanitization callback

A registered setting does not define a sanitization callback.

critical weight

Why It Shows Up

Plugin Check found `register_setting()` without a `sanitize_callback` or equivalent validation strategy.

Why It Matters

Settings can be saved by administrators and then displayed or used later. Without sanitization, invalid or unsafe values can persist.

How to Fix

  • Pass a `sanitize_callback` in the `register_setting()` arguments.
  • Use built-in sanitizers for simple values and custom callbacks for structured settings.
  • Validate allowed values and return a safe default when input is invalid.

Affected Plugins

RankPluginScoreErrorsWarningsInstallsAddedUpdatedTop Issue
#101All-In-One Security (AIOS) – Security and Firewall245521,2281m+Non-prefixed global variable
#102AutomatorWP – Automator plugin for no-code automations, webhooks & custom integrations in WordPress241,7051,3937k+Text Domain Mismatch
#103BlockMeister – Block Pattern Builder245801,4051k+Non-prefixed global variable
#104Brands for WooCommerce247876746k+Text Domain Mismatch
#105Message Filter for Contact Form 7241,0571,5941k+Non-prefixed global variable
#106Kognetiks Chatbot for WordPress246511,486600Non-prefixed global variable
#107Doubly – Cross Domain Copy Paste for WordPress242525510k+Output is not escaped
#108Easy Invoice – Invoice Generator, PDF Quotes & Payments241,3662,013500Non-prefixed global variable
#109Login & Register Forms – Popup | Slider | Inline | WooCommerce2432167740k+Non-prefixed global variable
#110eCommerce Product Catalog Plugin for WordPress246213,1777k+Non-prefixed function
#111EmbedPress – PDF Embedder, 3D PDF FlipBook, Google Reviews, YouTube Videos, Upload & Embed PDF documents247111,588100k+Output is not escaped
#112Fattura2424312333400Output is not escaped
#113Featured Image from URL (FIFU)241,65441870k+Non Singular String Literal Domain
#114Force Sell for WooCommerce24697455600Text Domain Mismatch
#115Formidable PRO2PDF242184771k+Non-prefixed global variable
#116Grid/List View for WooCommerce241,1275432k+Output is not escaped
#117Load More Products for WooCommerce2474245620k+Text Domain Mismatch
#118Local Delivery Drivers for WooCommerce241,8321,483900Non-prefixed global variable
#119Generate Images (AI) – Magic Post Thumbnail241,9401,7616k+Non-prefixed global variable
#120Mailjet Email Marketing2443520610k+Unsafe printing function
#121Marketing Automation24440677600Non-prefixed global variable
#122Min and Max Quantity for WooCommerce2461445620k+Text Domain Mismatch
#123Pagination Styler for WooCommerce247994481k+Output is not escaped
#124Participants Database249518947k+SQL query is not prepared
#125PeproDev Ultimate Invoice243792344k+Output is not escaped
#126Product Catalog Simple241,5551,9821k+Output is not escaped
#127Post Affiliate Pro24293335500Nonce verification recommended
#128Premmerce Brands for WooCommerce247001,3442k+Non-prefixed global variable
#129Premmerce Product Filter for WooCommerce248171,4862k+Non-prefixed global variable
#130Product Tabs Manager for WooCommerce246344822k+Text Domain Mismatch
#131Products Compare for WooCommerce241,0226951k+Output is not escaped
#132Quiz and Survey Master (QSM) – Easy Quiz and Survey Maker244072,58740k+Non-prefixed hook name
#133RS WP Book Showcase – A Complete Book Catalogue & Library System249103431k+Text Domain Mismatch
#134RSVP and Event Management243456243k+Direct Query
#135Sailthru for WordPress242392662k+Non-prefixed global variable
#136Sales Report for WooCommerce246594511k+Output is not escaped
#137SEO Engine – Smart SEO with AI, Schema & Redirection for WordPress242393041k+Direct Query
#138SEO Ultimate2443726910k+Output is not escaped
#139Sequential Order Numbers for WooCommerce246984721k+Text Domain Mismatch
#140Servebolt Optimizer241,9586811k+Text Domain Mismatch
#141Share This Image247441,5821k+Non-prefixed global variable
#142ShiftController Employee Shift Scheduling24358196700Output is not escaped
#143ShortPixel Adaptive Images – WebP, AVIF, CDN, Image Optimization2492632210k+Output is not escaped
#144Sugar Calendar – Events Calendar, Event Tickets, and Events Management Platform2442895610k+Output is not escaped
#145Terms and Conditions Popup for WooCommerce246334381k+Text Domain Mismatch
#146NextMove Lite – Thank You Page for WooCommerce2491685710k+Non-prefixed global variable
#147Yoast SEO – Advanced SEO with real-time guidance and built-in AI2415938610m+Non-prefixed global variable
#148Auto Affiliate Links243754073k+Output is not escaped
#149WP Discourse241031141k+Nonce verification recommended
#150Dynamic Team Manager – Team Member Showcase with grid, slider, table Elementor widget & shortcode249062,003900Non-prefixed global variable