#21084 closed feature request (maybelater)
attr values in wp_kses
Reported by: | WraithKenny | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Validation | Keywords: | |
Focuses: | Cc: |
Description
It'd be great to be able to sanitize or whitelist values for attributes on certain elements in the kses functions. Perhaps a filter in wp_kses_attr(), or alternatively by passing a callback to the attribute array instead of 'true' or 'array()'.
Change History (4)
Note: See
TracTickets for help on using
tickets.
the filter would probably be a one liner, but the handling of a callback, a little more difficult...