mirror of
git://develop.git.wordpress.org/
synced 2025-02-07 16:10:43 +01:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@51973 602fd350-edb4-49c9-b593-d223f7449a82