Commit f7c6119
committed
REST API: Use valid host in unit tests for URL Details endpoint.
This ensures that the `url` parameter is not marked as invalid due to `wp_http_validate_url()` failing because of a `gethostbyname()` failure.
Follow-up to [51973].
Props westonruter, swissspidy.
See #54358.
Fixes #64412.
Built from https://develop.svn.wordpress.org/trunk@61377
git-svn-id: http://core.svn.wordpress.org/trunk@60689 1a063a9b-81f0-0310-95a4-ce76da25c4cd1 parent caed43f commit f7c6119
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments