Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

FSE: WooCommerce template names are editable after changes #5281

@alexflorisca

Description

@alexflorisca

Describe the bug

The core wordpress template names are not editable. The woocommerce templates shouldn't be either. However if one is to edit a template, save it and reload it, the title of the template becomes editable.

To reproduce

Steps to reproduce the behavior:

  1. With WC 6.0, Gutenberg (latest trunk) and a block theme installed, go to Appearance > Editor
  2. Go to the Templates page and edit one of the WooCommerce templates (ie: Single Product Page).
  3. Save and refresh the page
  4. The title of the templates is now editable

Expected behavior

The title of the template should not be editable

Screenshots

Screenshot 2021-11-30 at 18 08 53

Environment

WordPress (please complete the following information):

  • Core version: 5.8.2
  • Gutenberg version (if installed): lates trunk - tested at commit 26556937b70bbf4aaef8c112321703b61a740284
  • WooCommerce version: 6.0.0
  • WooCommerce Blocks version: 6.5.0-dev
  • Site language:
  • Any other plugins installed:

Additional context

Slack conversation here: p1638279389105200-slack-C8X6Q7XQU

Metadata

Metadata

Assignees

Labels

focus: FSEWork related to prepare WooCommerce for FSE.type: bugThe issue/PR concerns a confirmed bug.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions