[wp-trac] [WordPress Trac] #53098: Add all HTML spec attributes to wp kses

WordPress Trac noreply at wordpress.org
Tue Apr 27 12:49:04 UTC 2021

#53098: Add all HTML spec attributes to wp kses
 Reporter:  malthert           |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Formatting         |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:

Comment (by audrasjb):

 To clarify my first comment, there is no plan to add all the existing tags
 and attributes in the allowlist.

 If there is a need concerning some specific tags/attributes, please
 provide full context on why they should be allowed. If you need to allow
 all the tags in the HTML5 specification for your projects, please use the
 provided hooks to allow them, like `wp_kses_allowed_html`

Ticket URL: <https://core.trac.wordpress.org/ticket/53098#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list