[wp-trac] [WordPress Trac] #57630: Site Editor: Template part customization is not saved for certain child themes

WordPress Trac noreply at wordpress.org
Wed Mar 8 21:46:44 UTC 2023


#57630: Site Editor: Template part customization is not saved for certain child
themes
------------------------------+---------------------
 Reporter:  mreishus          |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  6.2
Component:  Themes            |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  has-testing-info  |     Focuses:
------------------------------+---------------------

Comment (by hellofromTonya):

 For clarity, adding testing instructions.

 == Testing Instructions
 These steps define how to test the feature or enhancement, and indicates
 the expected behavior or results.

 === Set up
 * Download the parent and child themes:
    * the [https://public-api.wordpress.com/rest/v1/themes/download
 /twentytwentytwo-wpcom.zip parent theme].
    * the [https://public-api.wordpress.com/rest/v1/themes/download
 /twentytwentytwo-red.zip child theme named TT2 Red] (long name: Twenty
 Twenty-Two (Red) - WordPress.com)
 * Add both themes:
    * Go to Appearance > Themes
    * Click on "Add New"
    * Click "Upload Theme"
    * Drag and drop the zip file
    * Click "Install" Now button
    * Repeat for the other theme
 * Activate the TT2 Red child theme

 === Steps to Test
 1. Open the Site Editor.
 2. Click on the "WordPress Develop" header area to edit.
 3. Select the List View icon, which opens the List View.
 4. Expand each node in `Header (Dark, small)`
 5. In the Header (Dark, small) > Group > Header > Group > Row > Row, click
 the "Options" (i.e. 3 vertical dots icon) and select "Insert after". A
 paragraph block is added between the logo/site name and navigation.
 6. In that paragraph block, type: ** Parent's Header template part **.
 7. In the Header (Dark, small) > Group > Header, click on the Header's
 "Options" (ie 3 vertical dots icon) and select "Insert after". A paragraph
 block is added after the logo, site name, and navigation.
 8. In that paragraph block, type: ** Child's Header (Dark, small) template
 part **.
 9. Click on "Save" button twice.
 10. Refresh your browser.

 === Expected Results
 Lists each expected result or behavior, i.e. what should happen when
 running the test(s):

 - ✅ The paragraph in the parent's `Header` template part should still be
 there are refreshing, meaning it was saved.
 - ✅ The paragraph in the child's `Header (Dark, small)` template part
 should still be there are refreshing, meaning it was saved.

   **Test Report Icons:**
   ✅ <= Behavior is ''expected''.
   ❌ <= Behavior is ''NOT expected''.

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


More information about the wp-trac mailing list