Skip to content

Commit

Permalink
[Site Editor]: Persist new template's description on creation (#41281)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntsekouras authored May 24, 2022
1 parent 373d545 commit 72e084b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 72e084b

Please sign in to comment.