mirror of
https://github.com/friendica/friendica
synced 2025-01-09 16:04:43 +00:00
Merge pull request #14631 from mexon/mat/schemaorg
Repair schema.org context.
This commit is contained in:
commit
c7c029a044
1 changed files with 5 additions and 0 deletions
|
@ -227,6 +227,11 @@ class JsonLD
|
||||||
Logger::debug('schema.org path fixed');
|
Logger::debug('schema.org path fixed');
|
||||||
$value = 'http://schema.org#';
|
$value = 'http://schema.org#';
|
||||||
}
|
}
|
||||||
|
// Issue 14630: Wordpress Event Bridge uses a URL that cannot be retrieved
|
||||||
|
if (is_int($key) && $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.
|
// Bookwyrm transmits "id" fields with "null", which isn't allowed.
|
||||||
|
|
Loading…
Reference in a new issue