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 |
|---|---|---|---|---|---|---|---|---|
| #651 | BP Auto Group Join | 42 | 55 | 55 | 700 | Output is not escaped | ||
| #652 | Change Background Color for Pages, Posts, Widgets | 42 | 35 | 7 | 500 | Text Domain Mismatch | ||
| #653 | Comment Blacklist Updater | 42 | 45 | 15 | 1k+ | Output is not escaped | ||
| #654 | Disable Recaptcha – CF7 | 42 | 73 | 5 | 2k+ | Output is not escaped | ||
| #655 | Disable User Login | 42 | 25 | 19 | 5k+ | Unsafe printing function | ||
| #656 | Storefront Online Ordering by DoorDash | 42 | 76 | 10 | 600 | Output is not escaped | ||
| #657 | Easy Video Player | 42 | 20 | 20 | 20k+ | Output is not escaped | ||
| #658 | Exit Popup | 42 | 51 | 5 | 1k+ | Output is not escaped | ||
| #659 | FCM Push Notification from WP | 42 | 43 | 16 | 500 | Non Singular String Literal Domain | ||
| #660 | Flamix: Bitrix24 and Contact Form 7 integrations | 42 | 79 | 4 | 1k+ | Output is not escaped | ||
| #661 | Goolytics – Simple Google Analytics | 42 | 37 | 5 | 4k+ | Unsafe printing function | ||
| #662 | Hide Featured Image | 42 | 26 | 12 | 10k+ | Unsafe printing function | ||
| #663 | NS Remove Related Products for WooCommerce | 42 | 95 | 43 | 3k+ | Output is not escaped | ||
| #664 | reCAPTCHA for WooCommerce | 42 | 80 | 31 | 40k+ | Output is not escaped | ||
| #665 | Rename wp-admin login | 42 | 23 | 38 | 8k+ | Output is not escaped | ||
| #666 | Set All First Images As Featured | 42 | 44 | 13 | 700 | Text Domain Mismatch | ||
| #667 | Simple Meta Tags | 42 | 28 | 13 | 700 | Output is not escaped | ||
| #668 | Sticky Floating Button (Book Now, Contact, Call To Action…) | 42 | 95 | 26 | 900 | Missing Arg Domain | ||
| #669 | SuperSaaS – online appointment scheduling | 42 | 79 | 10 | 1k+ | Text Domain Mismatch | ||
| #670 | Top Bar | 42 | 75 | 11 | 10k+ | Output is not escaped | ||
| #671 | WC Price History | 42 | 18 | 21 | 4k+ | Database parameter is not escaped | ||
| #672 | WC Speed Repair | 42 | 34 | 74 | 1k+ | Non-prefixed global variable | ||
| #673 | WP Before After Image Slider – Interactive Image and Video Comparison Plugin for WordPress | 42 | 112 | 17 | 1k+ | Text Domain Mismatch | ||
| #674 | WP Fingerprint | 42 | 34 | 47 | 9k+ | Direct Query | ||
| #675 | WPFomo | 42 | 45 | 9 | 600 | Output is not escaped | ||
| #676 | AddFunc Head & Footer Code | 43 | 28 | 18 | 20k+ | Output is not escaped | ||
| #677 | Anonymous Restricted Content | 43 | 22 | 24 | 1k+ | Unsafe printing function | ||
| #678 | Anti-spam Reloaded | 43 | 19 | 19 | 2k+ | Output is not escaped | ||
| #679 | Auto Alt Text | 43 | 52 | 13 | 4k+ | Exception output is not escaped | ||
| #680 | Category Editor | 43 | 54 | 18 | 8k+ | Unsafe printing function | ||
| #681 | Charla Live Chat | 43 | 33 | 13 | 500 | Output is not escaped | ||
| #682 | jQuery UI Widgets | 43 | 131 | 5 | 1k+ | Unsafe printing function | ||
| #683 | Lightbox | 43 | 29 | 10 | 700 | Unsafe printing function | ||
| #684 | Rut Chileno con Validación para WooCommerce | 43 | 35 | 16 | 1k+ | Text Domain Mismatch | ||
| #685 | ShinyStat Analytics | 43 | 65 | 8 | 1k+ | Output is not escaped | ||
| #686 | utm.codes | 43 | 34 | 33 | 400 | Missing nonce verification | ||
| #687 | Sovrn | 43 | 9 | 29 | 1k+ | Input is not sanitized | ||
| #688 | WP Extra File Types | 43 | 11 | 26 | 40k+ | Request data is not unslashed | ||
| #689 | WP Post Expires | 43 | 21 | 15 | 2k+ | Output is not escaped | ||
| #690 | Cookie Bar | 44 | 29 | 3 | 10k+ | Unsafe printing function | ||
| #691 | LIQUID SPEECH BALLOON | 44 | 34 | 30 | 10k+ | Output is not escaped | ||
| #692 | Minimum Order Amount for Woocommerce | 44 | 50 | 16 | 2k+ | Text Domain Mismatch | ||
| #693 | Narrative Publisher | 44 | 28 | 37 | 1k+ | Text Domain Mismatch | ||
| #694 | Notix – Web Push Notifications | 44 | 22 | 41 | 600 | Non-prefixed global variable | ||
| #695 | Setmore Appointments | 44 | 45 | 13 | 4k+ | Output is not escaped | ||
| #696 | Simple Full Screen Background Image | 44 | 23 | 13 | 10k+ | Output is not escaped | ||
| #697 | TP Product Description in Loop for WooCommerce | 44 | 48 | 7 | 500 | Setting is missing a sanitization callback | ||
| #698 | Trusty Whistleblowing Solution | 44 | 234 | 16 | 400 | Text Domain Mismatch | ||
| #699 | User Posts Limit | 44 | 82 | 22 | 2k+ | Output is not escaped | ||
| #700 | Contact Details | 45 | 43 | 29 | 1k+ | Non Singular String Literal Text |