-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Labels
enhancementNew feature or requestNew feature or request
Description
We should add support for Template Activation, which is currently under an experiment in Gutenberg: WordPress/gutenberg#73252
When this is stabilised, it will likely land in WordPress 7.0, so we should make sure the plugin works with this new template functionality before then.
Tasks
- Update
get_block_templates()calls to explicitly request inactive templates when needed (e.g., when clearing customisations or exporting all templates): Template Activation: Update get_theme_templates #798 - Modify
clear_user_templates_customizations()andclear_user_template_parts_customizations()to include inactive templates: Template Activation: Update get_theme_templates #798 - Add activation state checking to template filtering logic by modifying
should_include_template() - Add options to control whether inactive templates are included in exports
- Consider how to handle duplicate templates (same slug, different IDs) when saving to theme files
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Fields
Give feedbackNo fields configured for issues without a type.