[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 00:01:24 UTC 2022


#57193: White screen of death in theme editor when blank theme is activated.
---------------------------------------+-----------------------
 Reporter:  lamarajan                  |       Owner:  (none)
     Type:  defect (bug)               |      Status:  new
 Priority:  high                       |   Milestone:  6.1.2
Component:  Editor                     |     Version:  6.1.1
 Severity:  critical                   |  Resolution:
 Keywords:  needs-testing needs-patch  |     Focuses:  template
---------------------------------------+-----------------------
Changes (by costdev):

 * keywords:  needs-testing => needs-testing needs-patch
 * priority:  normal => high
 * component:  General => Editor
 * milestone:  Awaiting Review => 6.1.2


Comment:

 Issue reproduced with the theme provided above, as well as a simple
 `style.css` + `templates/index.html` theme.

 -----

 - Introduced in [54799]. (6.1.1)
 - Milestoning for `6.1.2`.
 - Increasing `Priority` to `high`.
 - Pinging folks who worked on this to help the ticket move forward:
 @flixos90, @manuilov, @oandregal, @peterwilsoncc, @spacedmonkey

 -----

 TL;DR - When a block theme does not have a `theme.json` file, the editor
 screen is blank.

 Looks like it might be an issue with [https://github.com/WordPress
 /wordpress-develop/blob/trunk/src/wp-includes/class-wp-theme-json-
 resolver.php#L423-L425 this condition] (removing this early return allows
 the theme to load), or maybe the changes to `::theme_has_support()`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57193#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list