eightshift-libs
eightshift-libs copied to clipboard
Text domain slug escaped when using admin menu creation command
Describe your bug
Never had this happen before, so I'm not sure what changed
The dash seems to be escaped 👀
Steps to Reproduce
- Have a plugin with name that has a dash in it (
eightshift-ssofor instance 😅) - Create admin menu
- Inspect the text domain
Expected behavior
There shouldn't be a \ in front of the dash.
Screenshots, screen recording, code snippet
No response
Environment info
- PHP Version: 7.4
- WSL 2
- Nginx server
- Windows 11
- Latest libs
Please confirm that you have searched existing issues in this repo.
Yes
Please confirm that you have searched in our documentation and couldn't find the answer.
Yes
Please confirm that your bug occurs with all plugins uninstalled and with the default WordPress theme active.
Yes