-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended[Type] Code QualityIssues or PRs that relate to code qualityIssues or PRs that relate to code qualityl10nLocalization and translations best practicesLocalization and translations best practices
Description
Description
See
https://core.trac.wordpress.org/ticket/34753
#42492
#66369
#66371
It would be nice to add ESLint and PHP linting rules to prevent future usages of the verb 'toggle' inside translatable strings.
Step-by-step reproduction instructions
N/A
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
- Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
- Yes
Please confirm which theme type you used for testing.
- Block
- Classic
- Hybrid (e.g. classic with theme.json)
- Not sure
Metadata
Metadata
Assignees
Labels
[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended[Type] Code QualityIssues or PRs that relate to code qualityIssues or PRs that relate to code qualityl10nLocalization and translations best practicesLocalization and translations best practices