[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:45:32 UTC 2024


#60214: Fix var types of parameters in `sanitize_option_{$option}` filter
------------------------------+-----------------------
 Reporter:  crstauf           |       Owner:  audrasjb
     Type:  defect (bug)      |      Status:  accepted
 Priority:  normal            |   Milestone:  6.5
Component:  General           |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  docs
------------------------------+-----------------------
Changes (by audrasjb):

 * keywords:  has-patch => has-patch commit
 * status:  reviewing => accepted
 * milestone:  Awaiting Review => 6.5


Comment:

 Using `mixed` looks good to me since the value can be anything: worth not
 listing all possible types here.
 Moving for 6.5 consideration.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60214#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list