[wp-trac] [WordPress Trac] #54358: Add URL Details endpoint from Gutenberg plugin into Core

WordPress Trac noreply at wordpress.org
Sun Dec 14 08:10:41 UTC 2025


#54358: Add URL Details endpoint from Gutenberg plugin into Core
--------------------------------------+-----------------------------
 Reporter:  hellofromTonya            |       Owner:  hellofromTonya
     Type:  task (blessed)            |      Status:  closed
 Priority:  normal                    |   Milestone:  5.9
Component:  Editor                    |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:  rest-api
--------------------------------------+-----------------------------

Comment (by westonruter):

 In [changeset:"61377" 61377]:
 {{{
 #!CommitTicketReference repository="" revision="61377"
 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.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54358#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list