Opened 10 years ago
Closed 10 years ago
#40277 closed defect (bug) (fixed)
Adding page created with the dropdown-pages settings to menu creates Custom Link instead of Page
| Reported by: | danielmilner | Owned by: | westonruter |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.7.4 |
| Component: | Customize | Version: | 4.7 |
| Severity: | normal | Keywords: | has-patch commit fixed-major |
| Cc: | Focuses: |
Description
How to recreate the issue in Customize:
- Create a new page using a
dropdown-pagessetting that has theallow_additionoption. - Switch to the menu panel, and add this newly created page to a Menu. (It shows up as a Page)
- Save changes and exit the Customize screen.
View the menu on the front-end. The menu item was added to the menu as a Custom Link instead of a Page.
Attachments (1)
Change History (9)
#2
@
10 years ago
- Keywords has-patch needs-testing added
- Milestone Awaiting Review → 4.7.4
- Version 4.7.3 → 4.7
@danielmilner good catch. Would you give 40277.0.diff a try? Looks like we got the values for type and object reversed.
#3
@
10 years ago
40277.0.diff seems to fix the issue, when through the same steps and added the newly created page to an existing menu in the Customizer, when checking the site front-end the page added to the main menu was a page and not a custom link.
#4
@
10 years ago
I concur with @lukecavanagh. 40277.0.diff appears to fix the issue.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This only happens during the Customize session where the Page was created. If you Save/Exit and return to the Customize screen, the menu item will be added correctly.