Skip to content

Template Editing Mode: Save notice doesn't mention newly created template #31565

@annezazu

Description

@annezazu

Description

Using the new template editing mode, if you create a new post alongside a new template and publish while in template editing mode, the confirmation message upon saving only mentions that a new post has been published. This relates to this issue in some ways as it's still TBD what language to use that aligns with the multi-entity saving flow: #29846

Step-by-step reproduction instructions

  1. Set up a site with FSE capabilities
  2. Add a new post > create a new template
  3. Name the template
  4. Make changes to the template.
  5. Select "publish" and go through saving flow
  6. Notice that the saving confirmation message only says "Post published" and doesn't mention the new template that was created.

Expected behaviour

Expect to see a notice that mentions the new template that's been created.

Actual behaviour

The notice only mentions the post being published.

Screenshots or screen recording (optional)

save.prompt.template.editing.mode.mov

WordPress information

  • WordPress version: 5.7.1
  • Gutenberg version: 10.6 RC
  • Are all plugins except Gutenberg deactivated? Yes
  • Are you using a default theme (e.g. Twenty Twenty-One)? TT1 Blocks

Device information

  • Device: Desktop
  • Operating system: MacOS
  • Browser: Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Template Editing ModeRelated to the template editor available in the Block Editor[Type] BugAn existing feature does not function as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions