Merge pull request #11081 from annando/fix-parseurl

Fix for ParseUrl ('type' was already in use)
This commit is contained in:
Tobias Diekershoff 2021-12-09 07:20:36 +01:00 committed by GitHub
commit 0f365a087e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -455,7 +455,7 @@ class ParseUrl
$siteinfo['language'] = trim($meta_tag['content']);
break;
case 'og:type':
$siteinfo['type'] = trim($meta_tag['content']);
$siteinfo['pagetype'] = trim($meta_tag['content']);
break;
case 'twitter:description':
$siteinfo['text'] = trim($meta_tag['content']);