X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FUtil%2FParseUrl.php;h=9ce9b0e9f9510cac664df737d795a0990897c16d;hb=f3b27dc7894d644897af65e17aaad1f5f0742c9b;hp=683544f44860d42b7cf2c008b199835ada1a762a;hpb=ccf021441175500563527c9941c17110d55ca337;p=friendica.git diff --git a/src/Util/ParseUrl.php b/src/Util/ParseUrl.php index 683544f448..9ce9b0e9f9 100644 --- a/src/Util/ParseUrl.php +++ b/src/Util/ParseUrl.php @@ -477,10 +477,11 @@ class ParseUrl } } +// Currently deactivated, see https://github.com/friendica/friendica/pull/10148#issuecomment-821512658 // Prevent to have a photo type without an image - if ($twitter_card && $twitter_image && !empty($siteinfo['image'])) { - $siteinfo['type'] = 'photo'; - } +// if ($twitter_card && $twitter_image && !empty($siteinfo['image'])) { +// $siteinfo['type'] = 'photo'; +// } if (!empty($siteinfo['image'])) { $siteinfo['images'] = $siteinfo['images'] ?? [];