[wp-trac] [WordPress Trac] #59736: Regression: Singular block template
WordPress Trac
noreply at wordpress.org
Wed Oct 25 19:05:32 UTC 2023
#59736: Regression: Singular block template
--------------------------+-----------------------
Reporter: afragen | Owner: flixos90
Type: defect (bug) | Status: assigned
Priority: high | Milestone: 6.4
Component: Query | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+-----------------------
Changes (by flixos90):
* owner: (none) => flixos90
* status: new => assigned
* severity: critical => normal
Comment:
Thank you @afragen and @echoplugins. I have investigated the issue, and
indeed the problem is that the custom block template that the plugin
injects technically includes a "classic" style template file which
includes a loop itself.
The plugin fix posted above should indeed resolve the problem, but I have
also been looking at a core solution: When plugins hijack the block
template loading mechanism to inject their own custom block template, we
should probably skip this logic, as there could be virtually any logic
applied at this point, including triggering a loop. I am working on a PR.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59736#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list