[wp-trac] [WordPress Trac] #55015: Site Editor not working for TwentyTwentyTwo Child theme

WordPress Trac noreply at wordpress.org
Tue Feb 1 01:41:36 UTC 2022

#55015: Site Editor not working for TwentyTwentyTwo Child theme
 Reporter:  mervinpraison            |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  5.9.1
Component:  Bundled Theme            |     Version:  5.9
 Severity:  major                    |  Resolution:
 Keywords:  needs-patch 2nd-opinion  |     Focuses:
Changes (by costdev):

 * keywords:  needs-patch 2nd-opinion needs-testing => needs-patch 2nd-


 It seems this has been [https://github.com/roots/bedrock/issues/74
 reported] before as an issue with classic themes in Roots Bedrock.

 At the time, the developers said the only issue for classic child themes
 is the stylesheet not loading, then giving a PHP snippet to enqueue the
 parent theme's stylesheet - A PHP snippet being something we want to avoid
 for block themes in the future.

 After reviewing my tests, while the Site Editor loads, the styling of the
 parent theme isn't loaded.

 Part of me thinks that if `Appearance > Themes` shows a theme, then
 regardless of which directory it's in, features like the Site Editor
 should work for its child themes. While Roots Bedrock is the environment
 this issue was noticed in, it seems that the issue could have appeared
 anywhere that themes are split between multiple folders.

 I'll keep `2nd-opinion` and remove `needs-testing` until we can discuss
 this further and determine the best course of action.

Ticket URL: <https://core.trac.wordpress.org/ticket/55015#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list