-
Notifications
You must be signed in to change notification settings - Fork 43
Closed
Milestone
Description
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
| 'site_option' => [ | |
| 'type' => 'error', | |
| 'message' => '%s() will overwrite network option values, please use the `*_option()` equivalent instead (e.g. `update_option()`).', | |
| 'functions' => [ | |
| 'add_site_option', | |
| 'update_site_option', | |
| 'delete_site_option', | |
| ], | |
| ], |
It's silenced anyways on WordPress-VIP-Go:
VIP-Coding-Standards/WordPress-VIP-Go/ruleset.xml
Lines 296 to 304 in 6d3f526
| <rule ref="WordPressVIPMinimum.Functions.RestrictedFunctions.site_option_delete_site_option"> | |
| <severity>0</severity> | |
| </rule> | |
| <rule ref="WordPressVIPMinimum.Functions.RestrictedFunctions.site_option_update_site_option"> | |
| <severity>0</severity> | |
| </rule> | |
| <rule ref="WordPressVIPMinimum.Functions.RestrictedFunctions.site_option_add_site_option"> | |
| <severity>0</severity> | |
| </rule> |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels