[wp-trac] [WordPress Trac] #52949: All available nav menu locations checked by default when creating a new menu

WordPress Trac noreply at wordpress.org
Thu Apr 1 12:16:48 UTC 2021


#52949: All available nav menu locations checked by default when creating a new
menu
--------------------------+-----------------------------
 Reporter:  Chouby        |       Owner:  davidbaumwald
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  5.7.1
Component:  Menus         |     Version:  5.5
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  administration
--------------------------+-----------------------------
Changes (by Chouby):

 * keywords:  has-patch needs-refresh => has-patch


Comment:

 There are indeed 2 bugs: the first I originally reported (this is only a
 UI bug) and the second reported in the video by @audrasjb which impacts
 the data saved in the database.

 My first patch or the variation proposed by @davidbaumwald in #comment:10
 fix only the first one.

 So I came back to review the code introduced in [48051] which lead me to
 [attachment:"52949.2.diff"]. According to my tests, this fixes the 2
 issues.

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


More information about the wp-trac mailing list