#21084 closed feature request (maybelater)
attr values in wp_kses
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Validation | Version: | |
| Severity: | normal | Keywords: | |
| 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)
comment:1
WraithKenny — 11 months ago
- Keywords dev-feedback added
comment:2
WraithKenny — 11 months ago
- Resolution set to maybelater
- Status changed from new to closed
Sorry, just remembered that feature requests go to idea at wordpress.org
comment:4
SergeyBiryukov — 8 months ago
Related: #20210
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...