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

WordPress Trac noreply at wordpress.org
Tue Nov 2 12:46:15 UTC 2021


#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 commit  |     Focuses:  rest-api
---------------------------------------------+-----------------------------
Changes (by hellofromTonya):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"51973" 51973]:
 {{{
 #!CommitTicketReference repository="" revision="51973"
 REST API: Add URL Details endpoint.

 Adds a new REST API endpoint (`/wp-block-editor/v1/url-details`) for
 retrieving information from an external URL.

 Information retrieved:

 * Title: content of the `<title>` element
 * Icon: favicon image link
 * Description: content of the `description` or `og:description` meta
 element
 * Image: OG image link

 This endpoint is used by the block editor for link previews.

 Props get_dave, aduth, andraganescu, beaulebens, hellofromTonya,
 kevin940726, mamaduka, marekhrabe, mnelson4, noisysocks, obenland,
 ocean90, retrofox, shaunandrews, spacedmonkey, swissspidy,
 timothyblynjacobs, xknown, youknowriad.
 Fixes #54358.
 }}}

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


More information about the wp-trac mailing list