[wp-trac] [WordPress Trac] #55015: Site Editor not working for TwentyTwentyTwo Child theme
WordPress Trac
noreply at wordpress.org
Tue Feb 1 00:42:19 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: Themes | Version: 5.9
Severity: major | Resolution:
Keywords: needs-patch | Focuses:
---------------------------+---------------------
Changes (by costdev):
* keywords: reporter-feedback => needs-patch
* milestone: Awaiting Review => 5.9.1
Comment:
Thanks for the information @mervinpraison!
== Test Report
=== Env
* WordPress 5.9
* [https://roots.io/bedrock/ Roots Bedrock]
* Chrome 97.0.4692.99
* WSL2
* Theme: [https://github.com/WordPress/theme-experiments/tree/add/tt2
-child-themes/twentytwentytwo-swiss Twenty Twenty-Two (Swiss)] and a
custom child theme with the "Template: twentytwentytwo" header.
* Block Editor
* Plugins: With and without Gutenberg 12.4.1.
=== Steps to test
1. Set up Roots Bedrock following the installation guide.
2. Follow the normal WordPress install.
3. Clone Twenty Twenty-Two (Swiss) into `bedrock/web/app/themes/`.
4. Navigate to `Appearance > Themes` and activate `Twenty Twenty-Two
(Swiss)`.
5. Navigate to `Appearance > Editor`.
The Editor should fail to load.
Open DevTools. You should see the error in the screenshot attached to this
ticket.
6. Create a new theme folder in `bedrock/web/app/themes/` and add a
`style.css` file with the following:
{{{#!css
/*
* Theme Name: TT2 - Child Theme
* Template: twentytwentytwo
*/
}}}
7. Activate the theme.
8. Visit the Site Editor.
The same issue should occur.
=== Results
- The Site Editor loads for Twenty Twenty-Two.
- The Site Editor does not load when using a child theme for Twenty
Twenty-Two ✅
----
Milestoning for 5.9.1 to raise awareness of this issue and aid
investigation.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55015#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list