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

WordPress Trac noreply at wordpress.org
Mon Jan 31 22:55:34 UTC 2022


#55015: Site Editor not working for TwentyTwentyTwo Child theme
-------------------------------+------------------------------
 Reporter:  mervinpraison      |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Themes             |     Version:  5.9
 Severity:  major              |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by costdev):

 * keywords:   => reporter-feedback


Comment:

 Hi @mervinpraison, welcome to Trac!

 Some tests I've ran:

 ----

 Test: I created a child theme with this `style.css` file:

 {{{#!css
 /**
  * Theme Name: Twenty Twenty-Two Child
  * Template:   twentytwentytwo
  */
 }}}

 Results: The Editor loads as expected.

 ----

 Test: I copied the Twenty Twenty-Two `theme.json` file and added a custom
 duotone.
 Results: The Editor loads as expected and the custom duotone is available.

 ----

 Test: I added an empty `templates/index.html` file.
 Results: The Editor loads as expected.

 ----

 Test: I added the following to `templates/index.html`:

 {{{
 <!-- wp:paragraph -->
 <p>Howdy, admin!</p>
 <!-- /wp:paragraph -->
 }}}

 Results: The Editor loads the `Index` template with a Paragraph block that
 reads "Howdy, admin!".

 ----

 Can you provide more information about how you set up the child theme and
 some of the modifications that you made?

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


More information about the wp-trac mailing list