Opened 4 years ago
Closed 4 years ago
#54209 closed defect (bug) (fixed)
Twenty Twenty-One: footer links lack closing span tag
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 5.9 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Bundled Theme | Keywords: | has-patch |
| Focuses: | Cc: |
Description
Footer navigation menus specify wrapping each menu item in a span tag, using the link_before and link_after arguments.
However, when the link_after value is emptied to reset any description markup, that also removes the closing tag within footer links.
Attachments (1)
Change History (5)
#2
in reply to:
↑ description
@
4 years ago
I can't find this code in WordPress git repo
Replying to sabernhardt:
However, when the
link_aftervalue is emptied to reset any description markup, that also removes the closing tag within footer links.
Note: See
TracTickets for help on using
tickets.
54209.patch simply checks whether the
link_aftervalue is (only) the closingspantag before setting it to empty.Another approach might accommodate custom arguments, but this could take care of the standard footer menu argument.