[wp-trac] [WordPress Trac] #64127: KSES: Add `name` attribute to the <details> element

WordPress Trac noreply at wordpress.org
Tue Oct 21 15:13:41 UTC 2025


#64127: KSES: Add `name` attribute to the <details> element
--------------------------+-----------------------------
 Reporter:  Soean         |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 We should add the `name` attribute to the `details` element in the global
 `$allowedposttags` array.

 The details block supports the `name` attribute since WP 6.8, so it needs
 to be added. Otherwise, it will be stripped when saving.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64127>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list