mirror of
https://github.com/getgrav/grav.git
synced 2026-06-25 09:30:57 +02:00
Merge branch 'develop' of github.com:getgrav/grav into feature/media
Conflicts: CHANGELOG.md system/src/Grav/Common/Page/Medium/ImageMedium.php
This commit is contained in:
@@ -21,6 +21,13 @@
|
||||
* Fixed remote URLs in markdown if using subfolder setup
|
||||
* Fixed calls to undefined `Media` methods, they will now return `null` in order to fix twig templates with undefined variables
|
||||
|
||||
# v1.7.34
|
||||
## mm/dd/2022
|
||||
|
||||
1. [](#bugfix)
|
||||
* Regression: Fixed saving page with a new language causing cache corruption [getgrav/grav-plugin-admin#2282](https://github.com/getgrav/grav-plugin-admin/issues/2282)
|
||||
* Fixed a potential fatal error when using watermark in images
|
||||
|
||||
# v1.7.33
|
||||
## 04/25/2022
|
||||
|
||||
|
||||
@@ -138,6 +138,10 @@ trait CompiledFile
|
||||
$class = get_class($this);
|
||||
$size = filesize($filename);
|
||||
|
||||
// Reload data from the filesystem. This ensures that we always cache the correct data (see issue #2282).
|
||||
$this->raw = $this->content = null;
|
||||
$data = (array)$this->decode($this->raw());
|
||||
|
||||
// Decode data into compiled array.
|
||||
$cache = [
|
||||
'@class' => $class,
|
||||
|
||||
Reference in New Issue
Block a user