[wp-trac] [WordPress Trac] #54549: It's possible to switch to a block theme from within Customizer

WordPress Trac noreply at wordpress.org
Mon Dec 13 20:31:40 UTC 2021


#54549: It's possible to switch to a block theme from within Customizer
-------------------------------------------------+-------------------------
 Reporter:  antonvlasenko                        |       Owner:
                                                 |  antonvlasenko
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Customize                            |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  needs-testing has-screenshots dev-   |     Focuses:  ui
  feedback needs-design-feedback                 |
-------------------------------------------------+-------------------------

Comment (by costdev):

 == Test Report

 === Env
 * WordPress 5.9-beta2-52344-src
 * Chrome 96.0.4664.93
 * Windows 10
 * Theme: Twenty Nineteen
 * Gutenberg Editor
 * Plugin: None activated

 === Steps to test
 1. Activate a non-block theme like Twenty Nineteen.
 2. Click on Customize button to open Customizer.
 3. Click on "Change" in the "Active theme" area.
 4. Notice Twenty Twenty-Two is displayed there. Click on "Live Preview"
 button.
 5. Click "Activate & Publish" button.
 6. Apply [https://github.com/WordPress/wordpress-develop/pull/1991 PR
 1991].
 7. Repeat steps 1-3.
 8. Twenty Twenty-Two should now have an error notice above it.

 === Results
 - Before the PR: There was no indication that a block theme uses the Site
 Editor instead of the Customizer.
 - After the PR: A notice now informs the user that a block theme uses the
 Site Editor instead of the Customizer.

 === Notes
 - The "activate this theme" in the grid view does not activate the theme.
 Like clicking anywhere in a theme's grid item, it opens a modal.
 - The "activate this theme" in the modal correctly activates the theme.

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


More information about the wp-trac mailing list