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

Remove theme attribute from template files #171

Closed
jffng opened this issue Jan 19, 2021 · 0 comments
Closed

Remove theme attribute from template files #171

jffng opened this issue Jan 19, 2021 · 0 comments

Comments

@jffng
Copy link
Collaborator

jffng commented Jan 19, 2021

I believe WordPress/gutenberg#28088 makes it so that template files are always assumed to be from the currently active theme. This makes the theme attribute on <!-- wp:template /--> and <!--wp:template-part /--> obsolete, and could become an error depending on how it's resolved.

We should update TT1 Blocks to remove the theme attribute for clarity.

@jffng jffng linked a pull request Jan 19, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants