[wp-trac] [WordPress Trac] #57129: Wrong Page Template Displayed in 6.1.x
WordPress Trac
noreply at wordpress.org
Tue Nov 22 01:43:07 UTC 2022
#57129: Wrong Page Template Displayed in 6.1.x
-------------------------------------------+------------------------------
Reporter: taupecat | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 6.1.1
Severity: major | Resolution:
Keywords: needs-patch reporter-feedback | Focuses: ui
-------------------------------------------+------------------------------
Comment (by smerriman):
Exactly the same problem here. It started with 6.1, and occurs not just
for existing pages, but any newly created pages.
Note that this is for a theme which does *not* use Full Site Editing. A
custom page template was declared in the theme via the usual comment at
the top:
{{{
<?php
/*
Template Name: xxx
*/
?>
}}}
'Default template' always shows, no matter which template is selected. If
you click on 'Default template', the dropdown that pops up has the right
one selected.
On top of this, I also see a button after clicking 'Default template' that
allows me to create a new template with the template editor. This should
not exist, since I haven't opted into full site editing, and thus don't
want users to see a template editor. I suspect this is related to the bug;
the new template selector is probably only supporting full site editing
themes.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57129#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list