Repository navigation
Commit 10125f8
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 10125f8
1 file changed
Lines changed: 17 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1661 | 1661 | | |
1662 | 1662 | | |
1663 | 1663 | | |
| 1664 | + | |
1664 | 1665 | | |
1665 | 1666 | | |
1666 | 1667 | | |
| |||
1691 | 1692 | | |
1692 | 1693 | | |
1693 | 1694 | | |
| 1695 | + | |
1694 | 1696 | | |
1695 | 1697 | | |
1696 | 1698 | | |
| |||
1702 | 1704 | | |
1703 | 1705 | | |
1704 | 1706 | | |
1705 | | - | |
1706 | 1707 | | |
| 1708 | + | |
| 1709 | + | |
| 1710 | + | |
| 1711 | + | |
| 1712 | + | |
| 1713 | + | |
| 1714 | + | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
1707 | 1718 | | |
| 1719 | + | |
| 1720 | + | |
1708 | 1721 | | |
| 1722 | + | |
| 1723 | + | |
| 1724 | + | |
1709 | 1725 | | |
1710 | 1726 | | |
1711 | 1727 | | |
| |||
0 commit comments