-
Notifications
You must be signed in to change notification settings - Fork 3.2k
HTML API: Rely on HTML API in oEmbed filtering tests.
#9259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
4835d3f to
ad218b1
Compare
ad218b1 to
f564272
Compare
Test using WordPress PlaygroundThe changes in this pull request can previewed and tested using a WordPress Playground instance. WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser. Some things to be aware of
For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation. |
f564272 to
6269798
Compare
6269798 to
ff53120
Compare
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
ff53120 to
e497205
Compare
sirreal
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a nice improvement to the test clarity and the tag processor uses is likely more reliable.
e497205 to
17b32b5
Compare
17b32b5 to
a51e218
Compare
|
@github-actions: You are older than two weeks, therefore you have been deemed obsolete. Closing your bot. |
a51e218 to
5c059e1
Compare
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 #9259 Discussed in https://core.trac.wordpress.org/ticket/63694 Props dmsnell, jonsurrell. See #63694 git-svn-id: https://develop.svn.wordpress.org/trunk@60972 602fd350-edb4-49c9-b593-d223f7449a82
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-ce76da25c4cd
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: https://core.svn.wordpress.org/trunk@60308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Trac ticket: Core-63694
Prep work for #9248.