Since all sites have moved from .com, we can remove the sniff since REST API is loaded by default.
* This sniff reminds the developers to check whether the WordPress Core REST API is enabled
- along with loading v0.8 and above.
|
$message = 'Zoninator of version >= v0.8 requires WordPress core REST API. Please, make sure the `wpcom_vip_load_wp_rest_api()` is being called on all sites loading this file.'; |
Not to mention that the function mentioned in the error message is deprecated:
https://github.com/Automattic/vip-go-wpcom-compat/blob/79bce981b331c7ed9e608f06b2407f976dac9235/wpcom-deprecated-functions.php#L9
Since all sites have moved from .com, we can remove the sniff since REST API is loaded by default.
VIP-Coding-Standards/WordPressVIPMinimum/Sniffs/Compatibility/ZoninatorSniff.php
Line 75 in 60ad148
Not to mention that the function mentioned in the error message is deprecated:
https://github.com/Automattic/vip-go-wpcom-compat/blob/79bce981b331c7ed9e608f06b2407f976dac9235/wpcom-deprecated-functions.php#L9