-
Notifications
You must be signed in to change notification settings - Fork 53
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
Add Direct_DB_Queries_Check #336
Add Direct_DB_Queries_Check #336
Conversation
7e2bfcb
to
f84a5c7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ernilambar I think this looks good. Since that is clearly a WordPress best practice, and since it's a simple check that only triggers warnings, I think it could be merged as is.
f84a5c7
to
1a8a54c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @ernilambar for the PR. I've provided some feedback, but aside from those points, everything appears to be in good shape from my perspective.
tests/phpunit/tests/Checker/Checks/Direct_DB_Queries_Check_Tests.php
Outdated
Show resolved
Hide resolved
0ea82c9
to
7fa609b
Compare
PR has been updated and ready to review. |
Fixes #29
Note: