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

WordPress Trac noreply at wordpress.org
Wed Oct 22 19:41:33 UTC 2025


#64127: KSES: Add `name` attribute to the <details> element
--------------------------+--------------------------
 Reporter:  Soean         |       Owner:  westonruter
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  normal        |   Milestone:  6.9
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+--------------------------
Description changed by westonruter:

Old description:

> 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.

New description:

 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.

 Related to:

  * #12835
  * https://github.com/WordPress/gutenberg/pull/71054
  * https://github.com/WordPress/gutenberg/pull/56971

--

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


More information about the wp-trac mailing list