-
Notifications
You must be signed in to change notification settings - Fork 40
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 site_option related sniffs/groupings #615
Comments
Same as for #614:
|
Open question - there are more multisite related restricted functions, should those be allowed now as well ? VIP-Coding-Standards/WordPressVIPMinimum/Sniffs/Functions/RestrictedFunctionsSniff.php Lines 53 to 59 in 6d3f526
VIP-Coding-Standards/WordPressVIPMinimum/Sniffs/Functions/RestrictedFunctionsSniff.php Lines 99 to 107 in 6d3f526
|
Just saw #616 which answers the first part of the question (removing |
For the
I think we can change the type to warning and the message directly on the sniff? |
Since VIP Go allows multisites, there's no reason to flag for the usage:
VIP-Coding-Standards/WordPressVIPMinimum/Sniffs/Functions/RestrictedFunctionsSniff.php
Lines 262 to 270 in 6d3f526
It's silenced anyways on WordPress-VIP-Go:
VIP-Coding-Standards/WordPress-VIP-Go/ruleset.xml
Lines 296 to 304 in 6d3f526
The text was updated successfully, but these errors were encountered: