Error when 'unread' is the first item in top_menu

One of our customers moved ‘unread’ as the first item in the top_menu setting.
This caused an error on the home page for non-authenticated users. ‘sign up’ and ‘log in’ were showing, but the top menu wasn’t. It basically made the forum look down.

If ‘unread’ is the first item, it should be skipped for non-authenticated users, and the next item should be used as the home page.


Long term I plan to remove the ability to customize this. What most people care about is whether categories is the homepage or not. Beyond that, allowing change here just leads to pain.

I recategorized as feature / pr-welcome, not against having this improved its just such a huge edge case and relates to usage.

1 Like