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.

Templates can't be saved in WP 5.9 beta 3 with Gutenberg disabled #5402

@Aljullu

Description

@Aljullu

To reproduce

  1. With WP 5.9 beta 3 and Gutenberg disabled, go to Appearance > Editor.
  2. Edit one of the WooCommerce templates and try to save it.
  3. Notice you get a 404 error: No templates exist with that id..

The problem seems to be that we check for the existence of gutenberg_get_block_template(), however that function was renamed to get_block_template() when included to WP core, so if Gutenberg is not enabled that function always returns early.

Metadata

Metadata

Assignees

Labels

focus: FSEWork related to prepare WooCommerce for FSE.focus: templateRelated to API powering block template functionality in the Site Editorstatus: blockerUsed on issues or pulls that block work from being released.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