Commit fd3520f
committed
HTML API: Rely on assertEqualHTML in oEmbed filtering tests.
As part of ongoing work to improve the reliability of HTML parsing code in WordPress, this patch replaces the use of PCRE matches in oEmbed filtering tests with semantic assertions via the HTML API and `assertEqualHTML()`.
Developed in WordPress/wordpress-develop#9259
Discussed in https://core.trac.wordpress.org/ticket/63694
Props dmsnell, jonsurrell.
See #63694
Built from https://develop.svn.wordpress.org/trunk@60972
git-svn-id: http://core.svn.wordpress.org/trunk@60308 1a063a9b-81f0-0310-95a4-ce76da25c4cd1 parent ce6911f commit fd3520f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments