Skip to content
Open
Show file tree
Hide file tree
Changes from 36 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
26a51db
Icons Regstry: improveme SVG sanitizer
t-hamano Mar 12, 2026
4ae7479
WIP
t-hamano Mar 12, 2026
a777fff
Improve unit test
t-hamano Mar 12, 2026
2bd0b84
Format
t-hamano Mar 12, 2026
3dc5e28
Add missing elements
t-hamano Mar 12, 2026
8708824
Remove redundant def element
t-hamano Mar 12, 2026
5c36d1f
Add temporary backport changelog
t-hamano Mar 12, 2026
e8f8a31
Merge branch 'trunk' into icon-registry-sanitizer
t-hamano Jun 15, 2026
d4f4022
Consolidate icon registry sanitize tests into a single test file
t-hamano Jun 15, 2026
06dbc86
Reject malformed SVG when the processor errors or pauses incomplete
t-hamano Jun 15, 2026
ae4140d
Branch xmlns:xlink test expectation by WordPress version
t-hamano Jun 15, 2026
49f6a74
Merge branch 'trunk' into icon-registry-sanitizer
t-hamano Jun 15, 2026
c360d0c
Allow all ARIA states/properties and data-* attributes in icon SVGs
t-hamano Jun 15, 2026
d5c5967
Add type hints to sanitize_icon_content()
t-hamano Jun 17, 2026
5a99e53
Use array_fill_keys() for SVG attribute allow-lists
t-hamano Jun 17, 2026
97d3002
Use @link tag for dmsnell PR reference in docblock
t-hamano Jun 17, 2026
39deef1
Skip leading comments and XML declarations before the SVG element
t-hamano Jun 17, 2026
29eca95
Return null from sanitize_icon_content() on failure
t-hamano Jun 17, 2026
dc2ab15
Merge branch 'trunk' into icon-registry-sanitizer
t-hamano Jun 17, 2026
0993ad8
Drop parameter type hint to stay compatible with the parent signature
t-hamano Jun 17, 2026
a46f913
Revert "Return null from sanitize_icon_content() on failure"
t-hamano Jun 17, 2026
cf0d2a3
Use array_fill_keys() for the remaining SVG attribute lists
t-hamano Jun 17, 2026
c7ff855
Add backport changelog
t-hamano Jun 17, 2026
d3ee803
Rename backport changelog file to match its PR number
t-hamano Jun 17, 2026
381209c
Skip ReflectionMethod::setAccessible() on PHP 8.1+
t-hamano Jun 17, 2026
20abfeb
Use @link for WAI-ARIA spec reference in sanitize_icon_content()
t-hamano Jun 19, 2026
33f767d
Use @link for Trac changeset reference in icons registry test
t-hamano Jun 19, 2026
5b2e3d4
Sort SVG sanitizer attribute lists alphabetically
t-hamano Jun 19, 2026
e39539b
Extract get_allowed_attribute_list() helper to build kses attribute l…
t-hamano Jun 19, 2026
c7a1947
Merge branch 'trunk' into icon-registry-sanitizer
t-hamano Jun 22, 2026
b88395f
Fix incorrect PHPDoc tags
t-hamano Jun 22, 2026
1fe8e6c
Resolve leftover merge conflict in icons registry test
t-hamano Jun 22, 2026
0c76fa6
Merge branch 'trunk' into icon-registry-sanitizer
t-hamano Jun 22, 2026
f203e7d
Icons: Reject foreign-namespaced <svg> in sanitizer
t-hamano Jun 23, 2026
f4c78d9
Icons: Relax SVG extraction but reject multiple roots
t-hamano Jun 23, 2026
de4e098
Merge branch 'trunk' into icon-registry-sanitizer
t-hamano Jun 26, 2026
a3b0fac
Merge remote-tracking branch 'origin/trunk' into icon-registry-sanitizer
t-hamano Jul 1, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions backport-changelog/7.1/12197.md
Comment thread
westonruter marked this conversation as resolved.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
https://github.com/WordPress/wordpress-develop/pull/12197

* https://github.com/WordPress/gutenberg/pull/75550
Loading
Loading