WordPress / theme-experiments

Experimenting with themes made out of blocks.
GNU General Public License v2.0
546 stars 180 forks source link

Remove theme attribute from template files #171

Closed jffng closed 3 years ago

jffng commented 3 years ago

I believe https://github.com/WordPress/gutenberg/pull/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.