Commit 6d62dc4
committed
Editor: Use HTML API
Update `WP_Duotone::restore_image_outer_container()` to iterate `WP_HTML_Tag_Processor::class_list()` instead of splitting the `class` attribute on spaces, matching Gutenberg PR 79531.
Developed in WordPress#12324.
Follow-up to [58313].
Props jonsurrell, mukesh27, scruffian.
Fixes #65576.
git-svn-id: https://develop.svn.wordpress.org/trunk@62627 602fd350-edb4-49c9-b593-d223f7449a82class_list() for duotone wrapper classes.1 parent 2161d9b commit 6d62dc4
2 files changed
Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1191 | 1191 | | |
1192 | 1192 | | |
1193 | 1193 | | |
1194 | | - | |
1195 | | - | |
| 1194 | + | |
1196 | 1195 | | |
1197 | 1196 | | |
1198 | 1197 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
64 | 78 | | |
65 | 79 | | |
66 | 80 | | |
| |||
0 commit comments