Make WordPress Core

Opened 9 months ago

Last modified 8 months ago

#57443 new defect (bug)

Page template label sticks to default

Reported by: permanyer's profile permanyer Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Editor Keywords: reporter-feedback
Focuses: Cc:

Description

After changing the template in the wordpress editor, "Default Template" stays as the template label (despite the template has been changed and everything else works fine).

https://ibb.co/Vjsx719

Attachments (1)

Edit-Page-“Personen”-‹-kontektum-—-WordPress.png (36.1 KB) - added by permanyer 9 months ago.
Default template label does not change

Download all attachments as: .zip

Change History (3)

@permanyer
9 months ago

Default template label does not change

#1 in reply to: ↑ description @permanyer
9 months ago

Replying to permanyer:

After changing the template in the wordpress editor, "Default Template" stays as the template label (despite the template has been changed and everything else works fine).

https://ibb.co/Vjsx719

Maybe I should add that I created the template files in my own theme with the comment in php at the beginning of the file:

<?php
/*
* Template Name: Personen
*/
?>

#2 @ironprogrammer
8 months ago

  • Keywords reporter-feedback added

Welcome to Trac, and thank you for the report, @permanyer!

Would you please provide additional details to help other contributors reproduce this issue? For instance:

  • pertinent details about your environment, including the WordPress version used
  • whether this is a custom "classic" or block theme
  • name of the custom template file in question (see why this matters)
  • whether there are any browser console errors when attempting to change the template or save the page

While I was unable to reproduce this issue using Twenty Fourteen (it includes a few template files), nor with a custom template added to Twenty Twenty-One, there may be some important details missing to reproduce this. Thanks!

Note: See TracTickets for help on using tickets.