1
1
Fork 0

Merge pull request #10095 from annando/parseurl-photos

Fix: ParseUrl now fetches images again
This commit is contained in:
Hypolite Petovan 2021-03-28 02:29:02 -04:00 committed by GitHub
commit 5b13de8e7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -512,7 +512,6 @@ class ParseUrl
{
if (!empty($siteinfo['images'])) {
array_walk($siteinfo['images'], function (&$image) use ($page_url) {
$image = [];
// According to the specifications someone could place a picture url into the content field as well.
// But this doesn't seem to happen in the wild, so we don't cover it here.
if (!empty($image['url'])) {