WordPress.org

Make WordPress Core

Opened 5 months ago

Last modified 5 months ago

#47564 new defect (bug)

Protect against recursive customizer navigation menu data — at Initial Version

Reported by: donpark Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Customize Keywords: has-patch reporter-feedback
Focuses: Cc:
PR Number:

Description

Recursive data can slip into navigation menu structure but client-script currently has no protection against, resulting in browser freezing when trying to edit navigation menus.

Attached patch changes getDepth() to keep track of parent navigation menu item ID to avoid recursion.

NOTE: This issue and patch may need an A12N to test because verifying this bug may be difficult and one known site with this problem needs access to MC to test with. If you are an A12N, I've created a WPCOM patch for testing purpose at D29638-code.

Change History (1)

Note: See TracTickets for help on using tickets.