Make WordPress Core

Opened 20 months ago

#55045 new defect (bug)

We need to validation on add new temlpate part

Reported by: sumitsingh's profile sumitsingh Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.9
Component: Themes Keywords: has-screenshots
Focuses: Cc:

Description

Hi

We need to add validation when someone try to create Twenty Twenty-Two on add new temlpate part.

Step -
Go to wp-admin/site-editor.php?postType=wp_template_part
Click on add new button
just enter space then you can able to click on create temlpate part. then getting this error "Cannot read properties of undefined (reading 'id')"

More information see quick video.https://www.loom.com/share/b0c78a21e2144dceb09fabc5263a01c7

Change History (0)

Note: See TracTickets for help on using tickets.