πŸ’₯ TRENDING: Ticket/ - Full Archive

Opened 2 months ago

Closed 2 months ago

#64127 closed defect (bug) (fixed)

KSES: Add `name` attribute to the <details> element

Reported by: soean's profile Soean Owned by: westonruter's profile westonruter
Milestone: 6.9 Priority: normal
Severity: normal Version: 6.8
Component: General Keywords: has-patch
Focuses: Cc:

Description (last modified by westonruter)

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:

Change History (7)

This ticket was mentioned in ​PR #10382 on ​WordPress/wordpress-develop by ​@Soean.


2 months ago
#1

  • Keywords has-patch added

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.

Trac ticket: https://core.trac.wordpress.org/ticket/64127