Repository navigation
Commit 2cfb2d8
committed
KSES: Normalize closing block delimiter names. (WordPress#14120)
Trac ticket: Core-66208
See WordPress#13271
When `wp_kses()` was refactored, it introduced block name normalization,
but only for opening and void block delimiters whose attributes were
changed during sanitization.
This left semantically-equivalent but mismatched delimiters.
This patch enforces normalization for all block names inside block
delimiters.1 parent 7119e1b commit 2cfb2d8
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1691 | 1691 | | |
1692 | 1692 | | |
1693 | 1693 | | |
| 1694 | + | |
1694 | 1695 | | |
1695 | 1696 | | |
1696 | 1697 | | |
| |||
1702 | 1703 | | |
1703 | 1704 | | |
1704 | 1705 | | |
1705 | | - | |
1706 | 1706 | | |
1707 | 1707 | | |
| 1708 | + | |
| 1709 | + | |
1708 | 1710 | | |
| 1711 | + | |
| 1712 | + | |
| 1713 | + | |
1709 | 1714 | | |
1710 | 1715 | | |
1711 | 1716 | | |
| |||
0 commit comments