Site Editor Templates: Titles and descriptions should remain as static strings even when edited #69261
Open
3 of 6 tasks
Labels
[Feature] Site Editor
Related to the overarching Site Editor (formerly "full site editing")
[Feature] Templates API
Related to API powering block template functionality in the Site Editor
Internationalization (i18n)
Issues or PRs related to internationalization efforts
[Type] Bug
An existing feature does not function as intended
Description
By default, a template's title and description are static strings. However, when a template is edited, the default title and description strings will be stored in the database for that template, replacing the static ones. This creates several issues:
The title/description of a template should be determined based on the template type and taken from the
get_default_block_template_types
function output. This is tied to the wayregister_block_template
and related functions work.Relevant links
This gap seems to be have been reported in the past:
Related PR:
Relevant discussion:
Step-by-step reproduction instructions
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
The text was updated successfully, but these errors were encountered: