Opened 4 months ago
Closed 4 months ago
#64127 closed defect (bug) (fixed)
KSES: Add `name` attribute to the <details> element
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 6.9 | Priority: | normal |
| Severity: | normal | Version: | 6.8 |
| Component: | General | Keywords: | has-patch |
| Focuses: | Cc: |
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.
4 months ago
#1
- Keywords has-patch added
#2
@
4 months ago
- Milestone changed from Awaiting Review to 6.9
- Owner set to westonruter
- Status changed from new to accepted
#3
@
4 months ago
- Keywords good-first-bug added
- Owner westonruter deleted
- Status changed from accepted to assigned
This is a good ticket for a new contributor to write up a patch. I'm happy to help commit!
#4
@
4 months ago
- Keywords good-first-bug removed
- Owner set to westonruter
- Status changed from assigned to reviewing
Oops. It has a patch 😊
Note: See
TracTickets for help on using
tickets.
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