#32858 closed defect (bug) (fixed)
Customizer Menus: Original link is not populated for newly-added menu items
Reported by: | westonruter | Owned by: | valendesigns |
---|---|---|---|
Milestone: | 4.3 | Priority: | normal |
Severity: | normal | Version: | 4.3 |
Component: | Customize | Keywords: | has-patch needs-testing |
Focuses: | Cc: |
Description
The nav_menu_item
control has a template for the Original link:
<a class="original-link" href="{{ data.url }}">{{ data.original_title }}</a>
When adding a new nav menu item, however, this url
is not among the properties that is exported from Ajax, and so the result is an empty href
.
Originally noticed as part of #32711.
Attachments (1)
Change History (5)
#2
@
9 years ago
- Keywords has-patch needs-testing added; needs-patch removed
@westonruter 32858.diff solves the issue. Please test and commit when you get a moment. I'll need to update the patch for #32687 as I've added url
to the return array and standardized the key order, so the tests will no longer pass. I think this should land first and then I'll refresh the other patch right after.
Note: See
TracTickets for help on using
tickets.
I'll take a look at this tomorrow.