Opened 12 months ago
Closed 12 months ago
#64127 closed defect (bug) (fixed)
KSES: Add `name` attribute to the <details> element
| Reported by: | Soean | Owned by: | westonruter |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.9 |
| Component: | General | Version: | 6.8 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description (last modified by )
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.
12 months ago
#1
- Keywords has-patch added
#3
@
12 months ago
- Keywords good-first-bug added
- Owner removed
- Status accepted → assigned
This is a good ticket for a new contributor to write up a patch. I'm happy to help commit!
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
We should add the
nameattribute to thedetailselement in the global$allowedposttagsarray.The details block supports the
nameattribute 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