[wp-trac] [WordPress Trac] #59736: Regression: Singular block template
WordPress Trac
noreply at wordpress.org
Fri Oct 27 18:16:19 UTC 2023
#59736: Regression: Singular block template
-------------------------------------------------+-------------------------
Reporter: afragen | Owner: flixos90
Type: defect (bug) | Status: closed
Priority: high | Milestone: 6.4
Component: Query | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses:
dev-reviewed |
-------------------------------------------------+-------------------------
Changes (by flixos90):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"57019" 57019]:
{{{
#!CommitTicketReference repository="" revision="57019"
Themes: Skip wrapping block template for singular content with a main
query loop when the template was injected from outside the current theme.
As a follow up to [56507], this fixes a bug that could occur for instance
when plugins hijack the block template detection process to inject their
own block template with entirely custom logic.
Props afragen, hellofromTonya, costdev, mukesh27, huzaifaalmesbah,
flixos90.
Fixes #59736.
See #58154.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59736#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list