-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Block Processor: Fix is_block_type() for inner HTML #10701
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
Block Processor: Fix is_block_type() for inner HTML #10701
Conversation
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. |
03e4467 to
bf96baa
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. |
Previously, the WP_Block_Processor class was making a mistake in mis-reporting whether a token matches a block type when #innerHTML spans are involved. This patch fixes the logic, which was originally written before a distinction between inner HTML and top-level freeform content was built.
bf96baa to
9857326
Compare
Previously, the WP_Block_Processor class was making a mistake in mis-reporting whether a token matches a block type when #innerHTML spans are involved. This patch fixes the logic, which was originally written before a distinction between inner HTML and top-level freeform content was built. Developed in #10701 Discussed in https://core.trac.wordpress.org/ticket/64485 Fixes #64485. git-svn-id: https://develop.svn.wordpress.org/trunk@61452 602fd350-edb4-49c9-b593-d223f7449a82
Previously, the WP_Block_Processor class was making a mistake in mis-reporting whether a token matches a block type when #innerHTML spans are involved. This patch fixes the logic, which was originally written before a distinction between inner HTML and top-level freeform content was built. Developed in WordPress/wordpress-develop#10701 Discussed in https://core.trac.wordpress.org/ticket/64485 Fixes #64485. Built from https://develop.svn.wordpress.org/trunk@61452 git-svn-id: http://core.svn.wordpress.org/trunk@60764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Previously, the WP_Block_Processor class was making a mistake in mis-reporting whether a token matches a block type when #innerHTML spans are involved. This patch fixes the logic, which was originally written before a distinction between inner HTML and top-level freeform content was built. Developed in WordPress/wordpress-develop#10701 Discussed in https://core.trac.wordpress.org/ticket/64485 Fixes #64485. Built from https://develop.svn.wordpress.org/trunk@61452 git-svn-id: https://core.svn.wordpress.org/trunk@60764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Trac ticket: Core-64485
Status
Summary
Previously, the
WP_Block_Processorclass was making a mistake in mis-reporting whether a token matches a block type when#innerHTMLspans are involved.This patch fixes the logic, which was originally written before a distinction between inner HTML and top-level freeform content was built.