Commit aa8e167
committed
Icons: Store the sanitized icon content on registration.
Icons registered with inline SVG content are now stored in their sanitized form, so disallowed markup such as event handler attributes is no longer retained in the registry or returned to consumers.
Developed in: WordPress#12623
Follow-up to [62748].
Props tyxla, wildworks.
See #64847.
git-svn-id: https://develop.svn.wordpress.org/trunk@62811 602fd350-edb4-49c9-b593-d223f7449a821 parent 78aea8b commit aa8e167
2 files changed
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| 173 | + | |
| 174 | + | |
173 | 175 | | |
174 | 176 | | |
175 | 177 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
261 | 283 | | |
262 | 284 | | |
263 | 285 | | |
| |||
0 commit comments