Category description visible inside the submenu
Description
If i have a category of posts that contains a description and that category is added as a submenu item, the description will also be visible. Category as a top level menu item (Sports) https://vertis.d.pr/i/QYqq23 Category as a submenu item https://vertis.d.pr/i/f63ozY
Reported here - https://secure.helpscout.net/conversation/2495372301/402389?folderId=212385
Step-by-step reproduction instructions
- Create a post category and add a description for it
- Add the category in the primary menu as a top level item
- Add the category as a submenu item and see the description is also visible
Screenshots, screen recording, code snippet or Help Scout ticket
Category as a top level menu item (Sports) https://vertis.d.pr/i/QYqq23 Category as a submenu item https://vertis.d.pr/i/f63ozY
https://secure.helpscout.net/conversation/2495372301/402389?folderId=212385
Environment info
WordPress 6.4.2 / Neve 3.8.1 / Neve Pro 2.8.1
Is the issue you are reporting a regression
No
I tested this and wasn't able to find out when this was introduced, downgraded the theme till 3.0.0 and I still see the description in the menu submenu, so looks like it was always like this or for a long time. Other popular themes don't show the description so we should address this.
This was introduced with the Mega Menu feature, and it happens because it automatically adds the item description even if the Mega Menu is not being used. It seems to be a bug since it was introduced. Will create a PR to address this, just wanted to add more context here.
:tada: This issue has been resolved in version 3.8.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket: