Template parts can be created unintentionally with a hybrid theme #58344
Labels
[Block] Template Part
Affects the Template Parts Block
[Feature] Site Editor
Related to the overarching Site Editor (formerly "full site editing")
[Type] Bug
An existing feature does not function as intended
Description
Found in this comment on the core ticket: https://core.trac.wordpress.org/ticket/58827#comment:21
Classic themes that support template parts can access the template parts parts in the Site Editor. Users should only be able to edit template parts provided by the theme and should not be allowed to create new template parts. However, it is possible to unintentionally create a new template part in the template parts editor.
Step-by-step reproduction instructions
http://localhost:8889/wp-admin
).Screenshots, screen recording, code snippet
e16d2e236870f487f86c8fbf5af7a8af.mp4
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: