WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #52949, comment 9


Ignore:
Timestamp:
04/01/2021 12:13:29 AM (10 months ago)
Author:
davidbaumwald
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #52949, comment 9

    initial v1  
    1 Looked into this a bit, and the issue isn't the `isset` logic; it's that `$nav_menu_selected_id` is `0` for a new menu being created.  I've verified that adding a `0 !== $nav_menu_selected_id` to the checked conditional resolves the issue. 
     1Looked into this a bit, and the issue isn't the `isset` logic; it's that `$nav_menu_selected_id` is `0` for a new menu being created.  I've verified that adding a `0 !== $nav_menu_selected_id` to the `$checked` conditional resolves the issue. 
    22
    33@Chouby Are you up for re-working your patch to include this logic?