PluginCheck.CodeAnalysis.SettingSanitization.register_settingMissing
Setting is missing a sanitization callback
A registered setting does not define a sanitization callback.
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
| Rank | Plugin | Score | Errors | Warnings | Installs | Added | Updated | Top Issue |
|---|---|---|---|---|---|---|---|---|
| #551 | Salat Times | 39 | 236 | 21 | 500 | Output is not escaped | ||
| #552 | Scripts n Styles | 39 | 150 | 92 | 30k+ | Output is not escaped | ||
| #553 | Easy Smooth Scroll Links | 39 | 64 | 5 | 600 | Output is not escaped | ||
| #554 | Shared Files – File Upload & Download Manager | 39 | 5 | 184 | 4k+ | Nonce verification recommended | ||
| #555 | Show All Comments | 39 | 108 | 92 | 400 | Nonce verification recommended | ||
| #556 | Simple Posts Ticker – Easy, Lightweight & Flexible | 39 | 151 | 28 | 2k+ | Output is not escaped | ||
| #557 | Slideshow SE | 39 | 35 | 240 | 2k+ | Non-prefixed global variable | ||
| #558 | Tawk.To Manager | 39 | 204 | 21 | 700 | Output is not escaped | ||
| #559 | OpenHook | 39 | 172 | 22 | 1k+ | Unsafe printing function | ||
| #560 | Ultimate Client Dash | 39 | 697 | 12 | 2k+ | Text Domain Mismatch | ||
| #561 | Woo Button Text | 39 | 53 | 21 | 500 | Output is not escaped | ||
| #562 | Modal Fly Cart & AJAX Add to Cart for WooCommerce | 39 | 83 | 74 | 2k+ | Text Domain Mismatch | ||
| #563 | WP Add Custom CSS | 39 | 45 | 23 | 60k+ | Output is not escaped | ||
| #564 | ACF qTranslate | 40 | 184 | 25 | 8k+ | Output is not escaped | ||
| #565 | AutoConvert Greeklish Permalinks | 40 | 116 | 13 | 30k+ | Text Domain Mismatch | ||
| #566 | Better Internal Link Search | 40 | 23 | 48 | 1k+ | strip tags strip tags | ||
| #567 | Bulk Add Terms | 40 | 74 | 27 | 800 | Text Domain Mismatch | ||
| #568 | Buy one Get one Free – BOGO discount rule maker for WooCommerce | 40 | 119 | 57 | 400 | Text Domain Mismatch | ||
| #569 | Category Featured Images Extended | 40 | 177 | 40 | 400 | Text Domain Mismatch | ||
| #570 | Client Portal : SuiteDash Direct Login | 40 | 93 | 17 | 1k+ | Text Domain Mismatch | ||
| #571 | codoc | 40 | 19 | 39 | 2k+ | Request data is not unslashed | ||
| #572 | Conditional WooCommerce Checkout Field | 40 | 84 | 22 | 400 | Unsafe printing function | ||
| #573 | Free Cookie Notice & Consent Banner for Privacy Compliance (GDPR, CCPA, DSGVO and others) | 40 | 39 | 15 | 6k+ | Missing direct file access protection | ||
| #574 | Corona Virus Data | 40 | 279 | 27 | 1k+ | Unsafe printing function | ||
| #575 | Crisp – Live Chat and Chatbot | 40 | 24 | 20 | 20k+ | Unsafe printing function | ||
| #576 | Export Post Info | 40 | 66 | 3 | 1k+ | Unsafe printing function | ||
| #577 | FAQ Concertina | 40 | 43 | 16 | 700 | Output is not escaped | ||
| #578 | Far Future Expiry Header | 40 | 25 | 36 | 7k+ | Request data is not unslashed | ||
| #579 | Fusion Page Builder | 40 | 34 | 100 | 3k+ | Input is not validated | ||
| #580 | Flag Icons | 40 | 300 | 19 | 3k+ | Output is not escaped | ||
| #581 | Links shortcode | 40 | 73 | 13 | 900 | Unsafe printing function | ||
| #582 | WP Mobile Redirect | 40 | 44 | 20 | 400 | Text Domain Mismatch | ||
| #583 | Page Comments Off Please | 40 | 17 | 29 | 1k+ | Nonce verification recommended | ||
| #584 | Donations via PayPal | 40 | 143 | 17 | 20k+ | Output is not escaped | ||
| #585 | Popup addon for Ninja Forms | 40 | 121 | 25 | 1k+ | Output is not escaped | ||
| #586 | Post Tiles | 40 | 46 | 5 | 400 | Output is not escaped | ||
| #587 | Requirements Checklist | 40 | 200 | 22 | 900 | Output is not escaped | ||
| #588 | Product Video Gallery for Woocommerce | 40 | 61 | 36 | 10k+ | Setting is missing a sanitization callback | ||
| #589 | REST API Custom Fields | 40 | 44 | 16 | 800 | Text Domain Mismatch | ||
| #590 | LazyLoad Plugin – Lazy Load Images, Videos, and Iframes | 40 | 31 | 17 | 100k+ | Output is not escaped | ||
| #591 | Select All Categories and Taxonomies, Change Checkbox to Radio Buttons | 40 | 116 | 30 | 3k+ | Output is not escaped | ||
| #592 | Select Post Export | 40 | 51 | 18 | 500 | Output is not escaped | ||
| #593 | Serviceform Pixel | 40 | 18 | 22 | 400 | Output is not escaped | ||
| #594 | Contact Info Widget | 40 | 184 | 3 | 1k+ | Output is not escaped | ||
| #595 | Simple Page Sidebars | 40 | 55 | 65 | 20k+ | Output is not escaped | ||
| #596 | Tagging | 40 | 33 | 37 | 500 | Output is not escaped | ||
| #597 | Tealium | 40 | 73 | 19 | 600 | Unsafe printing function | ||
| #598 | Track Geolocation Of Users Using Contact Form 7 | 40 | 17 | 173 | 900 | Nonce verification recommended | ||
| #599 | Unlimited Logo Carousel | 40 | 286 | 15 | 500 | Text Domain Mismatch | ||
| #600 | Visual Editor Custom Buttons | 40 | 30 | 48 | 4k+ | Output is not escaped |