Skip to content

Remove ZoninatorSniff #612

@rebeccahum

Description

@rebeccahum

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions