[wp-trac] [WordPress Trac] #55015: Site Editor not working for TwentyTwentyTwo Child theme
WordPress Trac
noreply at wordpress.org
Tue Feb 1 11:07:41 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:
-------------------------------------+---------------------
Comment (by costdev):
Seems like the error is coming from the Javascript file. It's not
returning `action.currentTheme.stylesheet`.
That's right, `action.currentTheme` is `undefined` because the parent
theme is not in the same `themes` folder as the child theme. Moving
`twentytwentytwo` into `bedrock/web/app/themes` will let the Site Editor
load, but IMO that shouldn't be necessary.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55015#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list