[wp-trac] [WordPress Trac] #60909: Classic Theme with theme.json attempts to load templates
WordPress Trac
noreply at wordpress.org
Wed Apr 3 16:34:48 UTC 2024
#60909: Classic Theme with theme.json attempts to load templates
----------------------------+---------------------
Reporter: CookiesForDevo | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.5.1
Component: Themes | Version: 6.5
Severity: normal | Resolution:
Keywords: | Focuses:
----------------------------+---------------------
Comment (by CookiesForDevo):
Manually disabling support for `block-templates` does work around the
issue:
{{{
add_action(
'init',
function () {
remove_theme_support( 'block-templates' );
},
10,
0,
);
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60909#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list