[wp-trac] [WordPress Trac] #46133: Parse blocks to generate the excerpt
WordPress Trac
noreply at wordpress.org
Tue Apr 9 14:35:12 UTC 2019
#46133: Parse blocks to generate the excerpt
---------------------------------------------------+-----------------------
Reporter: gziolo | Owner: pento
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 5.2
Component: Formatting | Version: 5.0
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests dev-feedback | Focuses:
---------------------------------------------------+-----------------------
Changes (by desrosj):
* keywords: needs-patch needs-unit-tests => has-patch has-unit-tests dev-
feedback
* component: General => Formatting
Comment:
@gziolo @pento It's unclear to me if this requires further action. It
seems that this issue was fixed in [43884], though no unit tests were
added for this.
In my testing, the unit tests from the unmerged
[https://github.com/WordPress/gutenberg/pull/11704/ GB-11704] PR pass.
Removing the [https://core.trac.wordpress.org/browser/tags/5.1/src/wp-
includes/formatting.php#L3689 line that strips blocks for excerpts in core
causes the tests fail.
If my assessment is true, let's add these tests and this can be closed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46133#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list