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
#801Magic Tooltips For Contact Form 7613721700Text Domain Mismatch
#802PRyC WP: Add custom content to post and page (top/bottom)616371k+Text Domain Mismatch
#803Widget Click to Chat61224500Setting is missing a sanitization callback
#804Wistia WordPress Plugin6142122k+Output is not escaped
#805WP-CORS617231k+error log error log
#806Custom Site Logo622641k+Unsafe printing function
#807Equalweb Accessibility622154k+Output is not escaped
#808Include Matomo Tracking, by Jonas Hellmann62144500Setting is missing a sanitization callback
#809Live Simple Clock62231800Output is not escaped
#810Nimbata Call Tracking621311400Non-prefixed function
#811Embed Videos For Product Image Gallery Using WooCommerce622116400Text Domain Mismatch
#812WP Charts and Graphs – WordPress Chart Plugin628291k+Input is not sanitized
#813Categories Images63102150k+wp function not compatible with requires wp
#814Custom post types, Custom Fields & more63101223k+Missing Translators Comment
#815EMI Calculator63371400Setting is missing a sanitization callback
#816Order auto complete for WooCommerce6356221k+Text Domain Mismatch
#817Simple WWW Redirect632651k+Output is not escaped
#818Beautiful taxonomy filters6438782k+Non-prefixed global variable
#819Broadly for WordPress64185500Unsafe printing function
#820Channel.io641431k+Output is not escaped
#821Nofollow for external link648510k+Output is not escaped
#822Simple HTTPS Redirect64195900Output is not escaped
#823SMK Sidebar Generator6419510k+Output is not escaped
#824TP Show Product Images on Checkout Page for WooCommerce64165500Setting is missing a sanitization callback
#825WP REST API Controller648228k+Nonce verification recommended
#826Яндекс.ПДС Пингер / Yandex Site search pinger64215800Output is not escaped
#827Dashboard Directory Size65329400Missing Arg Domain
#828Product Image and Video Gallery Slider for WooCommerce65137700Output is not escaped
#829Reading progressbar652526k+Output is not escaped
#830SocketLabs651518900Output is not escaped
#831Lime Connect (formerly Userlike) – WordPress Live Chat plugin65223900Output is not escaped
#832Font Size66171600Unsafe printing function
#833Icon Widget661494k+Output is not escaped
#834Free Property Valuation (Lead Generator) / Kostenlose Immobilienbewertung66115600Unsafe printing function
#835LeadBack – Callback, Chatbot and Live Chat Widgets for WordPress sites66175600Unsafe printing function
#836TAO Schedule Update6637112k+Text Domain Mismatch
#837Address correction autocomplete for Woo671991k+Text Domain Mismatch
#838Raptive Ads6734316k+Text Domain Mismatch
#839Smart Related Products – AI-Inspired Recommendations for WooCommerce6713151k+Output is not escaped
#840Product Specifications for Woocommerce6712801k+Non-prefixed global variable
#841WP-Copyright-Protection672455k+wp function not compatible with requires wp
#842ACF: Yandex Maps Field687310800Text Domain Mismatch
#843Auto Image Title & Alt68134400Missing direct file access protection
#844Clearout Email Validator – Real-Time Email Verification on WordPress Forms682180600Non-prefixed function
#845Content Security Policy Manager681922k+Output is not escaped
#846Exchange Rates Today68910400Non-prefixed function
#847Logo Switcher68142800Output is not escaped
#848Template List Metabox681410900Missing Arg Domain
#849Dashboard Commander69132900Output is not escaped
#850HelpCrunch – Live Chat, Chatbot & Knowledge Base for Customer Service691512k+Output is not escaped