Customize: starter content home menu item needs to be a link, not a page
|Reported by:||celloexpressions||Owned by:||westonruter|
|Component:||Customize||Keywords:||has-patch commit fixed-major|
Core menus use a custom link item for "home" rather than associating home with a static front page, when present. However, starter content provides a page_home item that insets the "home" page as an item in the starter menu.
Menus use a link for "home" because the page item will not always actually link home if the user changes the static front page option to be a different page or show the latest posts. This also means that core does not provide a starter-content menu item for "home" for themes that default to showing latest posts on front. For these reasons, the page_home menu item in starter content should be replaced with link_home to avoid theme developers accidentally introducing this usability trap.
Presuming that this is delayed to 4.7.1, we probably shouldn't remove the page_home item entirely. Instead we can deprecate it and change it to be the link-type menu item that it should be. We'd also add a link_home item that has a title of "Home" and a url of the site url. Because page_home becomes an unfortunate deprecated item existing only for back compat and with an inaccurate name, Twenty Seventeen would need to be updated alongside 4.7.1 as it currently contains the only canonical example implementation of starter content and is likely to be directly copied.
Note that until this is changed, all users creating a new site with core starter content will end up with easily-broken "home" links in their menus.
Change History (12)
- Keywords has-patch added; needs-patch removed
- Milestone changed from 4.7.1 to 4.7
4 months ago
3 months ago
- Keywords fixed-major added
- Resolution fixed deleted
- Status changed from closed to reopened