Changes between Initial Version and Version 1 of Ticket #54910, comment 50
- Timestamp:
- 02/01/2022 11:00:34 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #54910, comment 50
initial v1 36 36 This solution isn't ideal, as it effectively requires a block theme to register itself as one - something that's been avoided up until now. Some mix of parsing `index.html` and `scandir` would be too much of a performance hit IMO, even with caching. 37 37 38 Since the only two files required for themes are `index.php` and `style.css`, I can't see a reliable way to identify an initialized block theme that has an empty `index.html` file without requiring some kind of 'registration' mechanism.38 Since the only two files required for ''all'' themes are `index.php` and `style.css`, I can't see a reliable way to identify an initialized block theme that has an empty `index.html` file without requiring some kind of 'registration' mechanism. 39 39 40 40 Can anyone see a way that a block theme might be identified based on something other than filenames/index.html contents, but without requiring a 'registration' mechanism?