[wp-trac] [WordPress Trac] #57193: White screen of death in theme editor when blank theme is activated.
WordPress Trac
noreply at wordpress.org
Sun Nov 27 11:25:40 UTC 2022
#57193: White screen of death in theme editor when blank theme is activated.
--------------------------+--------------------------------
Reporter: lamarajan | Owner: (none)
Type: defect (bug) | Status: closed
Priority: high | Milestone:
Component: Editor | Version: 6.1.1
Severity: critical | Resolution: reported-upstream
Keywords: | Focuses: template
--------------------------+--------------------------------
Changes (by costdev):
* keywords: needs-testing needs-patch =>
* status: new => closed
* resolution: => reported-upstream
* milestone: 6.1.2 =>
Comment:
Hi @lamarajan, `theme.json` is not mandatory for block themes.
Per
[https://developer.wordpress.org/reference/classes/wp_theme/is_block_theme/#source
WP_Theme::is_block_theme()], the only requirements for a block theme are
the existence of a `templates/index.html`, or for backward compatibility,
`block-templates/index.html`. To clarify, `templates/index.html` is the
recommended one.
This is a regression introduced in 6.1.1.
-----
See [https://github.com/WordPress/gutenberg/pull/46073 GB 46073], which
has a patch.
As this has been reported and will be patched upstream in the Gutenberg
repository, I'll close this ticket as `reported-upstream`.
@mamaduka I can't see a milestone in the Gutenberg repo for 6.1.2. Would
it be possible to ensure that
[https://github.com/WordPress/gutenberg/pull/46073 GB 46073] gets assigned
there when the milestone is available?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57193#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list