Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure there's a mechanism for disabling creation of new templates #29144

Open
mtias opened this issue Feb 19, 2021 · 1 comment
Open

Ensure there's a mechanism for disabling creation of new templates #29144

mtias opened this issue Feb 19, 2021 · 1 comment
Labels
[Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") [Type] Task Issues or PRs that have been broken down into an individual action to take

Comments

@mtias
Copy link
Member

mtias commented Feb 19, 2021

It's important to account for scenarios where new template creation should be disabled and only editing of those already provided by the theme / site should be available.

@mtias mtias added [Type] Task Issues or PRs that have been broken down into an individual action to take [Feature] Full Site Editing labels Feb 19, 2021
@carlomanf
Copy link

This looks similar to #27597, but should be more easily solved than that one. This one should just require explicitly setting $args['capabilities']['create_posts'] for the post type (or adding a filter to let other developers do it), and updating the UI to check for that capability.

@annezazu annezazu added [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") and removed [Feature] Full Site Editing labels Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") [Type] Task Issues or PRs that have been broken down into an individual action to take
Projects
None yet
Development

No branches or pull requests

3 participants