[wp-trac] [WordPress Trac] #57169: Prevent saving of invalid menu_item_parent

WordPress Trac noreply at wordpress.org
Thu Jan 5 00:42:15 UTC 2023


#57169: Prevent saving of invalid menu_item_parent
--------------------------+-----------------------
 Reporter:  azaozz        |       Owner:  azaozz
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  6.1.2
Component:  Menus         |     Version:  6.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------
Changes (by azaozz):

 * keywords:  has-patch fixed-major => has-patch


Comment:

 @Chouby, @Chrystl thanks for reporting this.

  we had to set a unique ID for the dynamic menu items and so we append the
 language code to the db menu item id

 I understand. Added a fix [https://github.com/WordPress/wordpress-
 develop/pull/3663 to the PR]. Could you confirm it fixes this.

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


More information about the wp-trac mailing list