Automattic / Automattic/VIP-Coding-Standards
using curl should suggest using vip_safe_wp_remote_get instead of wp_remote_get
Open
Status: Awaiting feedback
- Dominant language
- PHP
- Stars
- 261
- Forks
- 44
- Avg merge
- 19m
- Merged PRs (30d)
- 1
Description
## What problem would the enhancement address for VIP?
When using `curl` the suggested fix is to use `wp_remote_get`, however, `wp_remote_get` is discouraged and `vip_safe_wp_remote_get` is suggested instead.
## Describe the solution you'd like
Suggest the use of `vip_safe_wp_remote_get` when using `curl` to avoid a secondary violation for using `wp_remote_get`
Contributor guide
Assessment
This issue has not been assessed yet.