[wp-trac] [WordPress Trac] #55996: the get_the_block_template_html call all the same functions as the the_conent filter so they are run twice
WordPress Trac
noreply at wordpress.org
Sat Oct 15 10:51:14 UTC 2022
#55996: the get_the_block_template_html call all the same functions as the
the_conent filter so they are run twice
------------------------------------------+------------------------------
Reporter: pbearne | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version:
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses: performance
------------------------------------------+------------------------------
Comment (by manfcarlo):
A patch for this is available at
https://github.com/WordPress/gutenberg/pull/44995
@ocean90 If you have time to test, I would be interested to know if the
patch fixes #56295.
@needle I tested your example and it appears that `&&` is
produced even when `wptexturize` is only applied once. While I agree that
it is unwanted, it looks to be outside the scope of this ticket. Perhaps
you should open another ticket and/or search to see if it's already been
reported in another ticket.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55996#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list