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
#201Premmerce SEO for WooCommerce265501,2851k+Non-prefixed global variable
#202Accordions – Responsive Accordion & FAQ Plugin for WordPress275541581k+Text Domain Mismatch
#203Arconix FAQ275522016k+Text Domain Mismatch
#204Comment Link Remove and Other Comment Tools276911327k+Text Domain Mismatch
#205Contact Form Generator : Creative form builder for WordPress271,0761,510800Output is not escaped
#206Foxtool All-in-One: Contact chat button, Custom login, Media optimize images271,6293607k+Unsafe printing function
#207GSpeech TTS – WordPress Text To Speech Plugin278423323k+Output is not escaped
#208ImageRecycle pdf & image compression273292041k+Text Domain Mismatch
#209iQ Block Country2716424520k+Request data is not unslashed
#210OOPSpam Anti-Spam: Spam Protection for WordPress Forms & Comments (No CAPTCHA)272715686k+Request data is not unslashed
#211Simple Download Monitor2721827320k+Output is not escaped
#212Hubbub Lite – Fast, free social sharing and follow buttons2733717230k+Text Domain Mismatch
#213Verge3D Publishing and E-Commerce27245298400Nonce verification recommended
#214WC Booster27191282800Non-prefixed global variable
#215Wiremo – Product Reviews for WooCommerce27445212700Output is not escaped
#216Email Marketing Plugin – WP Email Capture273832621k+Output is not escaped
#217WP Events Manager2729441530k+Output is not escaped
#218WP Chat App27120274100k+Alternative PHP tag found
#219WPBase Cache271891132k+Text Domain Mismatch
#220Ultimate Addons for SiteOrigin285251897k+Text Domain Mismatch
#221BNE Testimonials285221021k+Output is not escaped
#222Code Engine – PHP Snippets, AI Functions & Automation for WordPress28124101700Non Singular String Literal Domain
#223Darklup – Enhanced WordPress Dark Mode, Dark Theme, Night Mode & Accessibility Plugin28639851k+Text Domain Mismatch
#224IdeaPush28283298800Output is not escaped
#225Laposta Signup Basic28275662k+Output is not escaped
#226Opal Service28339329900Non-prefixed global variable
#227PushAlert – Web Push Notifications for WordPress and WooCommerce28196631k+curl curl setopt
#228Themesflat Addons For Elementor2871422740k+Output is not escaped
#229WC Fields Factory281943697k+Nonce verification recommended
#230WP ADA Compliance Check Basic287851773k+Text Domain Mismatch
#231WP GoToWebinar28207207700Non-prefixed function
#232WP YouTube Lyte2820417830k+Non-prefixed global variable
#233WPS Bidouille2847221510k+Output is not escaped
#234Bitcoin Payments – Blockonomics292082273k+Output is not escaped
#235Database Cleaner2913529710k+Direct Query
#236Interactive Image Map Plugin – Draw Attention2962022720k+Output is not escaped
#237Responder29771853k+Non-prefixed global variable
#238Social Engine2913390600Exception output is not escaped
#239ApplyOnline – Application Form Builder and Manager303542602k+Output is not escaped
#240Private groups305833161k+Unsafe printing function
#241Easy Custom Auto Excerpt30841666k+Non-prefixed global variable
#242Event post303551001k+Output is not escaped
#243PiWeb Export Customers Users & Guest customer to CSV for WooCommerce30173751k+Text Domain Mismatch
#244Anti-spam, Spam protection, ReCaptcha for all forms and GDPR-compliant302642214k+Non Singular String Literal Text
#245Laposta Signup Embed3088191k+Exception output is not escaped
#246Meow Gallery3011118210k+Direct Query
#247Realbig For WordPress30365911k+Non-prefixed global variable
#248Rublon Multi-Factor Authentication (MFA)30216160500Output is not escaped
#249Sina Extension for Elementor303,70116040k+Text Domain Mismatch
#250Star Addons for Elementor302362551k+Non-prefixed global variable