mirror of
https://github.com/friendica/friendica
synced 2025-01-08 11:24:43 +00:00
Repair schema.org context. Fixes #14630
This commit is contained in:
parent
7a17d7ab02
commit
b2012947ac
1 changed files with 5 additions and 0 deletions
|
@ -227,6 +227,11 @@ class JsonLD
|
|||
Logger::debug('schema.org path fixed');
|
||||
$value = 'http://schema.org#';
|
||||
}
|
||||
// Issue 14630: Wordpress Event Bridge uses a URL that cannot be retrieved
|
||||
if ($value == 'https://schema.org/') {
|
||||
Logger::debug('https schema.org path fixed');
|
||||
$value = 'https://schema.org/docs/jsonldcontext.json#';
|
||||
}
|
||||
});
|
||||
|
||||
// Bookwyrm transmits "id" fields with "null", which isn't allowed.
|
||||
|
|
Loading…
Reference in a new issue