Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove magic $n function #246

Open
tobeycodes opened this issue Nov 4, 2024 · 1 comment
Open

Remove magic $n function #246

tobeycodes opened this issue Nov 4, 2024 · 1 comment
Labels

Comments

@tobeycodes
Copy link
Member

https://github.com/search?q=repo%3A10up%2Fwp-scaffold%20%24n%20%3D%20function%20(%20%24function%20)%20%7B&type=code

This function prevents IDE functionality such as go-to defintion and auto-completion and prevents static analyzers and unused code tools from knowing whether the functions are in use

@darylldoyle
Copy link
Collaborator

Thanks, @tobeycodes. I've added this to the Internal Tools working group agenda to be discussed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants