From 0cb9d37e166d80d3cab264a1e389a8a149ba407b Mon Sep 17 00:00:00 2001 From: ntsekouras Date: Tue, 24 May 2022 18:20:23 +0300 Subject: [PATCH] [Site Editor]: Persist new template's description on creation --- .../edit-site/src/components/add-new-template/new-template.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/edit-site/src/components/add-new-template/new-template.js b/packages/edit-site/src/components/add-new-template/new-template.js index 100c6bc08a90d..4c8b80467d0bc 100644 --- a/packages/edit-site/src/components/add-new-template/new-template.js +++ b/packages/edit-site/src/components/add-new-template/new-template.js @@ -99,7 +99,7 @@ export default function NewTemplate( { postType } ) { 'postType', 'wp_template', { - excerpt: description, + description, // Slugs need to be strings, so this is for template `404` slug: slug.toString(), status: 'publish',