Automattic / Automattic/zoninator

Remove use of wpcom_vip_get_term_by()

Open
#110 0 comments 0 reactions 1 assignee Claimed by @GaryJones View on GitHub
type: maintenance
Dominant language
PHP
Stars
86
Forks
53
PR merge metrics
No merged PRs in 30d

Description

The `wpcom_vip_get_term_by()` function is [deprecated](https://github.com/Automattic/VIP-Coding-Standards/blob/72ec09bba681e2a1fe58590984123e733c702e0f/WordPressVIPMinimum/Sniffs/Functions/RestrictedFunctionsSniff.php#L276), as `get_term_by()` handles all of the caching itself (via WP_Term_Query, etc.) now.

The use in the Zoninator class can be simplified.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.