Make WordPress Core

Opened 3 years ago

Last modified 3 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 close
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 3 years ago.
Default template label does not change

Download all attachments as: .zip

Change History (5)

@permanyer
3 years ago

Default template label does not change

#1 in reply to: ↑ description @permanyer
3 years 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
3 years 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!

#3 @callumbw95
3 months ago

  • Keywords close added

Hi @permanyer,

As there hasn't been much movement on this in the last XX years I am going to mark this ticket with the close tag. However please feel free to continue the conversation further and remove this tag if there is more conversation to be had here. 😃

#4 @westonruter
3 months ago

Note that this would probably be something to report upstream in the Gutenberg repo if it is still an issue: https://github.com/WordPress/gutenberg/issues/new/choose

Note: See TracTickets for help on using tickets.