#25410 closed defect (bug) (fixed)
In Admin navigation menu manager Page > View All section, home link has no label
Reported by: | ericlewis | Owned by: | helen |
---|---|---|---|
Milestone: | 3.7 | Priority: | normal |
Severity: | blocker | Version: | 3.7 |
Component: | Menus | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
nuff said. see attachment.
Attachments (8)
Change History (23)
#3
@
11 years ago
attachment:25410.1.diff brings us back to 3.6 functionality with an if else check that will set the item label correctly.
#wp1337up
#5
@
11 years ago
- Keywords has-patch added; needs-patch removed
25410.3.diff applies the_title
filter directly instead (like we do in several other places) and simplifies the logic, removing unused string.
#6
@
11 years ago
25410.3.diff looks good.
#9
follow-up:
↓ 11
@
11 years ago
I don't think it's a good idea to remove the "Home: " prefix before the name of the page, especially if a static page is set to front. Otherwise you get this confusing thing:
It may make sense to have it be "Home: Latest posts" instead for a non-static front page. Previously it said "Home: Home". On one hand, maybe it's not actually the latest posts, but on the other, you might already have a page named "Home". Or we can leave it as "Home: Home".
#11
in reply to:
↑ 9
@
11 years ago
- Keywords has-patch commit added; needs-patch removed
Replying to helen:
Previously it said "Home: Home". On one hand, maybe it's not actually the latest posts, but on the other, you might already have a page named "Home". Or we can leave it as "Home: Home".
"Home: Home" looks weird, especially when there's no an actual page with that title. 25410.5.diff only adds the prefix if the title is not a translated version of "Home". Both strings already exist, no string changes here.
#13
in reply to:
↑ 12
@
11 years ago
Replying to paolal:
Tested 25410.diff and it works for me.
Could you please test the latest patch, 25410.5.diff? Or is that the one you tested?
Broken in [25285] for #14975 - it's a fake item when there's no page on front set, so get_the_title() is returning nothing.