mirror of
https://github.com/getgrav/grav.git
synced 2026-05-07 00:17:24 +02:00
case for case sensitive metadata grav-admin-plugin#1370
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
* Improved Zip extraction error codes [#1922](https://github.com/getgrav/grav/issues/1922)
|
||||
1. [](#bugfix)
|
||||
* Fix an issue with Markdown Video and Audio that broke after Parsedown 1.7.0 Security updates [#1924](https://github.com/getgrav/grav/issues/1924)
|
||||
* Fixx for case-sensitive page metadata [admin#1370](https://github.com/getgrav/grav-plugin-admin/issues/1370)
|
||||
|
||||
|
||||
# v1.4.1
|
||||
|
||||
@@ -1499,6 +1499,8 @@ class Page
|
||||
|
||||
// Build an array of meta objects..
|
||||
foreach ((array)$metadata as $key => $value) {
|
||||
// Lowercase the key
|
||||
$key = strtolower($key);
|
||||
// If this is a property type metadata: "og", "twitter", "facebook" etc
|
||||
// Backward compatibility for nested arrays in metas
|
||||
if (is_array($value)) {
|
||||
|
||||
Reference in New Issue
Block a user