[wp-trac] [WordPress Trac] #54578: Live Preview Button showing issue

WordPress Trac noreply at wordpress.org
Fri Dec 10 19:51:26 UTC 2021


#54578: Live Preview Button showing issue
------------------------------+-----------------------------
 Reporter:  kafleg            |       Owner:  hellofromTonya
     Type:  defect (bug)      |      Status:  reopened
 Priority:  normal            |   Milestone:  5.9
Component:  Themes            |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-----------------------------
Changes (by hellofromTonya):

 * keywords:  has-patch needs-testing => has-patch commit


Comment:

 = Test Report

 Env:
 * Localhost: wp-env
 * OS: macOS
 * WordPress: trunk
 * Patch: PR 2033
 * Browser: Chrome, Edge, Safari, and Firefox

 == Steps:
 After applying the patch:

 1. Go to Appearance > Themes.
 2. Activate the Twenty Twenty-Two theme.
 3. Hover over the Twenty Twenty-Two theme and then click on "Theme
 Details".
 Expected: Only the "Customize" button should appear at the bottom of the
 modal.
 4. Close the modal.
 5. Hover over Twenty Twenty-One theme and then click on "Theme Details".
 Expected: 2 buttons should appear at the bottom of the modal: "Activate"
 and "Live Preview".
 6. Activate the Twenty Twenty-One theme.
 7. Hover over it and click on the "Theme Details".
 Expected: 4 buttons appear at the bottom of the modal: "Customize",
 "Widgets", "Menus", "Background"
 8. Hover over the Twenty Twenty-Two theme and then click on "Theme
 Details".
 Expected: Only the "Activate" button should appear at the bottom of the
 modal.
 9. Hover over the Twenty Nineteen theme and then click on "Theme Details".
 Expected: 2 buttons should appear at the bottom of the modal: "Activate"
 and "Live Preview".

 == Results

 * With the TT2 theme activated:
     * For TT2 theme: only the "Customize" button ✅
     * For TT1 theme: 2 buttons ✅
     * For T19 theme: 2 buttons ✅
 * With the TT1 theme activated:
     * For TT1 theme: 4 buttons ✅
     * For TT2 theme: only the "Activate" button ✅
     * For T19 theme: 2 buttons ✅

 [https://github.com/WordPress/wordpress-develop/pull/2033 PR 2033] works
 as expected. Marking for commit.

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


More information about the wp-trac mailing list