[wp-trac] [WordPress Trac] #58154: Block theme singular templates do not enter main query loop
WordPress Trac
noreply at wordpress.org
Fri Oct 27 18:16:19 UTC 2023
#58154: Block theme singular templates do not enter main query loop
-------------------------------------------------+-------------------------
Reporter: flixos90 | Owner: flixos90
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.4
Component: Editor | Version: 6.1
Severity: normal | Resolution: fixed
Keywords: has-patch has-testing-info has- | Focuses:
unit-tests |
-------------------------------------------------+-------------------------
Comment (by flixos90):
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/58154#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list