[wp-trac] [WordPress Trac] #64412: Sporadic unit test failure in Tests_REST_WpRestUrlDetailsController::test_get_items
WordPress Trac
noreply at wordpress.org
Sun Dec 14 22:17:39 UTC 2025
#64412: Sporadic unit test failure in
Tests_REST_WpRestUrlDetailsController::test_get_items
-------------------------------------------------+-------------------------
Reporter: westonruter | Owner:
| westonruter
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.9.1
Component: Editor | Version: 5.9
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests fixed- | Focuses: rest-api
major dev-reviewed |
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"61378" 61378]:
{{{
#!CommitTicketReference repository="" revision="61378"
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].
Reviewed by peterwilsoncc.
Merges [61377] to the 6.9 branch.
Props westonruter, swissspidy.
See #54358.
Fixes #64412.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64412#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list