Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #34436, comment 15


Ignore:
Timestamp:
11/03/2021 02:49:19 PM (2 years ago)
Author:
hellofromTonya
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34436, comment 15

    initial v1  
    1212== Test Steps
    1313
    14 Follow the [#comment:13 steps given above]. Also tested without the script by directly invoking with `wp.customize.panel('panel_name').focus()`.
     14Follow the [#comment:13 steps given above].
    1515
    1616Tip: Clear the Console before testing. Makes it easier to view errors and messages (if there are any).
    1717
     18Retested without the script:
     191. Navigate to the "Primary menu" panel
     202. Copy and paste this code into the Console: `wp.customize.panel('nav_menus').focus()`
     213. Press enter/return. Then notice the behavior:
     22    * With the patch: the parent "Menus" panel shows
     23    * Without the patch: nothing happens
     244. Repeat steps with "View All Locations" and "Secondary menu" panels
     25
    1826== Results
     27
     28Able to reproduce the reported issue ✅
    1929
    2030Each panel gains focus: