Repository navigation
Commit 2ae1a6d
committed
Block Processor: Improve comment end search behavior.
Prevent `WP_Block_Processor::find_html_comment_end()` from repeatedly scanning some spans that cannot contain a comment end.
Developed in: WordPress#13679
Props jonsurrell, dmsnell.
See #66138.
git-svn-id: https://develop.svn.wordpress.org/trunk@63911 602fd350-edb4-49c9-b593-d223f7449a821 parent 6b08132 commit 2ae1a6d
2 files changed
Lines changed: 8 additions & 1 deletion
File tree
- src/wp-includes
- tests/phpunit/tests/block-processor
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1356 | 1356 | | |
1357 | 1357 | | |
1358 | 1358 | | |
1359 | | - | |
| 1359 | + | |
1360 | 1360 | | |
1361 | 1361 | | |
1362 | 1362 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| 245 | + | |
245 | 246 | | |
246 | 247 | | |
247 | 248 | | |
| |||
299 | 300 | | |
300 | 301 | | |
301 | 302 | | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
302 | 309 | | |
303 | 310 | | |
304 | 311 | | |
| |||
0 commit comments