Commit 8b0573e
committed
Tests: Use
This resolves a warning in preparation for updating to WPCS 3.4.0:
{{{
Silencing errors is strongly discouraged. Use proper error checking instead.
}}}
Additionally, this brings consistency with a similar fragment in the pattern directory endpoint tests, which already used `wp_parse_url()`.
Follow-up to [48242], [51021].
See #64894.
git-svn-id: https://develop.svn.wordpress.org/trunk@62795 602fd350-edb4-49c9-b593-d223f7449a82wp_parse_url() in plugin management REST API endpoint tests.1 parent 07a2d76 commit 8b0573e
2 files changed
Lines changed: 2 additions & 2 deletions
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
| 276 | + | |
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1167 | 1167 | | |
1168 | 1168 | | |
1169 | 1169 | | |
1170 | | - | |
| 1170 | + | |
1171 | 1171 | | |
1172 | 1172 | | |
1173 | 1173 | | |
| |||
0 commit comments