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

WordPress Trac noreply at wordpress.org
Wed Dec 14 22:52:27 UTC 2022


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

 * owner:  (none) => azaozz
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"54973" 54973]:
 {{{
 #!CommitTicketReference repository="" revision="54973"
 Menus: Reset `menu_item_parent` to 0 when the parent is set to the item
 itself.

 Props: peterwilsoncc, SergeyBiryukov, azaozz.
 Fixes #57169.
 }}}

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


More information about the wp-trac mailing list