[wp-trac] [WordPress Trac] #54460: Ensure links to the Customizer send users to an appropriate destination in 5.9

WordPress Trac noreply at wordpress.org
Mon Nov 29 22:34:28 UTC 2021


#54460: Ensure links to the Customizer send users to an appropriate destination in
5.9
-------------------------------------------------+-------------------------
 Reporter:  jameskoster                          |       Owner:
                                                 |  hellofromTonya
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  normal                               |   Milestone:  5.9
Component:  General                              |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch commit has-unit-tests      |     Focuses:  ui,
  has-testing-info                               |  administration
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):

 * keywords:  has-patch commit has-unit-tests => has-patch commit has-unit-
     tests has-testing-info


Comment:

 = Test Report

 Env:
 - Browsers: Firefox, Chrome, Edge, and Safari
 - WordPress: trunk with PR 1933 applied
 - OS: macOS Big Sur
 - localhost: wp-env

 == Steps

 After applying the patch, do the following:
 1. Activate Twenty Twenty-One theme.
 2. Check the link in the "Customize" button links to `/wp-
 admin/customize.php?theme=twentytwentyone&return=/wp-admin/themes.php`.
 3. Go to Dashboard > Home
 4. Check that the "Customize Your Site" button links to `/wp-
 admin/customize.php` and the "change your theme completely" links to `/wp-
 admin/customize.php?autofocus[panel]=themes`.
 5. Go back to Appearance > Themes.
 6. Activate Twenty Twenty-Two theme.
 7. Check the link in the "Customize" button links to `/wp-admin/site-
 editor.php`.
 8. Go to Dashboard > Home.
 9. Check that the "Customize Your Site" button links to `/wp-admin/site-
 editor.php` and the "change your theme completely" links to `/wp-
 admin/themes.php`.
 10. Go back to Appearance > Themes.
 11. Activate Twenty Nineteen.
 12. Click on the Customize button to open Customizer.
 13. Click on "Change" in the "Active theme" area.
 14. Notice Twenty Twenty-Two is displayed there. Click on "Live Preview"
 button.
 15. Then click "Activate & Publish" button.

 == Test Results

 1. Testing Twenty Twenty-One:
     - Customize button rendered as expected ✅
     - Welcome Dashboard: both the button and link rendered as expected ✅
 2. Testing Twenty Twenty-Two:
     - Customize button rendered as expected ✅
     - Welcome Dashboard: both the button and link rendered as expected ✅
 3. Switching to Twenty Twenty-Two within Customizer: yes, switching works
 ✅

 [https://github.com/WordPress/wordpress-develop/pull/1933 PR 1933] works
 as expected.

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


More information about the wp-trac mailing list