Commit 35bbd38
committed
HTML API: Use case insensitive tag_name comparison in
The HTML API `::next_tag` method now performs case-insensitive matching when searching for tags by name. For example, searching for 'DIV' will match both '<div>' and '<DIV>' tags.
Reviewed by desrosj.
Merges [59422] to the 6.7 branch.
Props jonsurrell, dmsnell, czapla.
Fixes #62427.
git-svn-id: https://develop.svn.wordpress.org/branches/6.7@59535 602fd350-edb4-49c9-b593-d223f7449a82::next_tag.1 parent b6f6397 commit 35bbd38
File tree
2 files changed
+19
-0
lines changed- src/wp-includes/html-api
- tests/phpunit/tests/html-api
2 files changed
+19
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
557 | 557 | | |
558 | 558 | | |
559 | 559 | | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
560 | 564 | | |
561 | 565 | | |
562 | 566 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
882 | 882 | | |
883 | 883 | | |
884 | 884 | | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
885 | 900 | | |
0 commit comments