[wp-trac] [WordPress Trac] #59736: Regression: Singular block template
WordPress Trac
noreply at wordpress.org
Fri Oct 27 18:34:25 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: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"57020" 57020]:
{{{
#!CommitTicketReference repository="" revision="57020"
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.
Merges [57019] to the 6.4 branch.
Fixes #59736.
See #58154.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59736#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list