neve
neve copied to clipboard
fix: description visible in regular menu
Summary
Do not show item descriptions in regular navigation. Added e2e test for this specific case.
Will affect the visual aspect of the product
YES
Screenshots
Test instructions
- On a fresh instance of Neve FREE
- Change an existing menu item to have a description or use a category with a description as a menu item.
- Check that the description is not visible inside the navigation when the item is nested under a main item.
Check before Pull Request is ready:
- [x] I have written a test and included it in this PR
- [x] I have run all tests and they pass
- [x] The code passes when running the PHP CodeSniffer
- [x] Code meets WordPress Coding Standards for PHP, HTML, CSS and JS
- [x] Security and Sanitization requirements have been followed
- [x] I have assigned a reviewer or two to review this PR (if you're not sure who to assign, we can do this step for you)
Closes #4199.
@preda-bogdan Tested and the issue seems to be fixed, but now the Items description in the mega menu are not visible anymore. Here is a video with the behaviour before and updating with the PR https://vertis.d.pr/v/mqNPGV
Can be checked here:
Admin area URL: https://bangplace.s1-tastewp.com/wp-admin
Username: irinel
Password: 7K2lllN5-i0
@irinelenache thank you for checking this, I updated the condition to allow the mega menu description as before. Let me know if the issue is resolved now.
@preda-bogdan Tested again and everything's fine now, thank you 🚀
:tada: This PR is included in version 3.8.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket: