Opened 3 years ago
Closed 3 years ago
#54209 closed defect (bug) (fixed)
Twenty Twenty-One: footer links lack closing span tag
Reported by: | sabernhardt | Owned by: | SergeyBiryukov |
---|---|---|---|
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
@
3 years ago
I can't find this code in WordPress git repo
Replying to sabernhardt:
However, when the
link_after
value 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_after
value is (only) the closingspan
tag before setting it to empty.Another approach might accommodate custom arguments, but this could take care of the standard footer menu argument.