Opened 4 years ago
Closed 4 years ago
#53877 closed defect (bug) (fixed)
Menus: Selected display locations for new menus aren't saved
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 5.8.1 | Priority: | normal |
| Severity: | normal | Version: | 5.8 |
| Component: | Menus | Keywords: | has-patch commit fixed-major |
| Focuses: | Cc: |
Description
[48051] provided the ability to adjust menu settings when creating a menu on nav-menus.php. [50938] later corrected some issues with the "Display location" setting specifically. Now, however, when creating a menu, the selected menu locations aren't saved at all.
This behavior should be replicable on a fresh installation using Twenty Twenty-One by visiting Appearance > Menus, giving your first menu a name, selecting a location or two, and saving. The menu will save, but the locations won't.
The linked PR attempts to address the issue by assigning only the locations in $_POST['menu-locations'] to the new menu.
Change History (10)
This ticket was mentioned in PR #1546 on WordPress/wordpress-develop by dlh01.
4 years ago
#1
#3
@
4 years ago
- Milestone changed from Awaiting Review to 5.8.1
I can confirm this bug via testing.
Trac ticket: https://core.trac.wordpress.org/ticket/53877