[wp-trac] [WordPress Trac] #60214: Fix var types of parameters in `sanitize_option_{$option}` filter
WordPress Trac
noreply at wordpress.org
Tue Jan 9 15:25:35 UTC 2024
#60214: Fix var types of parameters in `sanitize_option_{$option}` filter
--------------------------+-----------------------------
Reporter: crstauf | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: docs |
--------------------------+-----------------------------
> The documentation is defining `$value` and `$original_value` as if they
were of type `string`, but they are very often of type `array`.
Reported by @gerardreches via User Contributed Notes.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60214>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list