WordPress.org

Ideas

Filtering values of attributes for html elements passed to wp_kses

  1. Ken Newman
    Member

    12345

    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()'.

    Posted: 2 years ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    2 Votes
  • Status

    This idea is under consideration