Opened 5 years ago
Closed 5 years ago
#54209 closed defect (bug) (fixed)
Twenty Twenty-One: footer links lack closing span tag
| Reported by: | sabernhardt | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.9 |
| Component: | Bundled Theme | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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
@
5 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.