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
#401Simple Post Type Permalinks351619k+date date
#402Simple YouTube Responsive357583k+wp function not compatible with requires wp
#403SimpleTOC – Table of Contents Block3510010k+Setting is missing a sanitization callback
#404Spreadshop Plugin35145444k+wp function not compatible with requires wp
#405Super Cool Ad Inserter Plugin35225600Text Domain Mismatch
#406TailPress – Tailwind for WordPress352322500Output is not escaped
#407Themify Shortcodes3536167k+Output is not escaped
#408Tockify Events Calendar3535122k+Output is not escaped
#409Transcoder3542111500Non-prefixed function
#410Two Factor Authentication3510813920k+Output is not escaped
#411Conditional Payments and Shipping for WooCommerce35338271k+Text Domain Mismatch
#412Require Login for WooCommerce351062k+wp function not compatible with requires wp
#413WP Cassify35106143800Missing nonce verification
#414WP Compiler3533201k+Output is not escaped
#415WP Content Copy Protection35761110k+Text Domain Mismatch
#416Auto Publish for Google My Business3521619210k+Input is not validated
#417WP GPX Maps35271004k+Non-prefixed global variable
#418WP-KaTeX35148800Missing direct file access protection
#419WP Login and Logout Redirect351666k+Text Domain Mismatch
#420WP-Persian35144377k+Unsafe printing function
#421WP Site Verification tool3534371k+Non-prefixed global variable
#422WP To Top3530291k+Non-prefixed global variable
#423wpLingua – Automatic translation – Translate and make website multilingual35791672k+Nonce verification recommended
#424WPPerformanceTester3594441k+Output is not escaped
#425Writesonic3514161k+Non-prefixed global variable
#426Awesome GDPR Compliant Cookie Consent and Notice36653201500Text Domain Mismatch
#427BP Disable Activation Reloaded3614728800Output is not escaped
#428BuddyMeet3611432700Unsafe printing function
#429Simple SEO3616411310k+Non Singular String Literal Domain
#430CMB23614819300k+Output is not escaped
#431ColorMeShop WordPress Plugin3639237600Exception output is not escaped
#432Constant Contact Forms36398920k+Missing nonce verification
#433CSH Login3612641500Output is not escaped
#434DeveloPress Sticky Footer Bar3616549400Output is not escaped
#435Different Menu in Different Pages – Conditional Menu361671134k+Text Domain Mismatch
#436Doneren met Mollie364203514k+SQL query is not prepared
#437Easy Support Videos – Embed videos in the admin3616095500Output is not escaped
#438Enhanced Media Library3636111760k+Unsafe printing function
#439Happy WooCommerce FAQs – Ultimate Product FAQ Plugin36651191k+Nonce verification recommended
#440Header Footer Script Adder – Insert Code in Header, Body & Footer36203781k+Text Domain Mismatch
#441Page Speed Optimizer: HTTP/2 Push, Async JavaScript, and Defer CSS3668336k+Output is not escaped
#442Insert Headers and Footers Code – HT Script36391347k+Text Domain Mismatch
#443List category posts361621780k+Output is not escaped
#444Media Deduper3660999k+Missing Arg Domain
#445Microsoft Clarity3648163200k+Nonce verification recommended
#446Motors VIN Decoder368788500Output is not escaped
#447Plugins Garbage Collector (Database Cleanup)36325110k+Missing nonce verification
#448افزونه رسمی ترب36428620k+Exception output is not escaped
#449Responsive Testimonials3625232400Text Domain Mismatch
#450Simple Banner – Easily add multiple Banners/Bars/Notifications/Announcements to the top or bottom of your website362165050k+Output is not escaped