#55045 closed defect (bug) (worksforme)
We need to validation on add new temlpate part
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.9 |
Component: | Editor | 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 (1)
Note: See
TracTickets for help on using
tickets.
Hi
I am going to close this ticket as fixed. When someone access the template part page, using a theme that does not have block template parts enabled, the message that shows is:
"The theme you are currently using is not compatible with the Site Editor."