majgetgrav

This commit is contained in:
2019-02-08 15:32:14 +01:00
parent a56ee3dd7a
commit bf69c0fe46
4 changed files with 14 additions and 3 deletions
+8 -1
View File
@@ -1,5 +1,12 @@
# v1.5.8
## 02/07/2019
1. [](#improved)
* Improved `User` unserialize to not to break the object if serialized data is not what expected
* Removed unused parameter [#2357](https://github.com/getgrav/grav/pull/2357)
# v1.5.7 # v1.5.7
## 01/25/2018 ## 01/25/2019
1. [](#new) 1. [](#new)
* Support for AWS Cloudfront forwarded scheme header [#2297](https://github.com/getgrav/grav/pull/2297) * Support for AWS Cloudfront forwarded scheme header [#2297](https://github.com/getgrav/grav/pull/2297)
+1 -1
View File
@@ -8,7 +8,7 @@
// Some standard defines // Some standard defines
define('GRAV', true); define('GRAV', true);
define('GRAV_VERSION', '1.5.7'); define('GRAV_VERSION', '1.5.8');
define('GRAV_TESTING', false); define('GRAV_TESTING', false);
define('DS', '/'); define('DS', '/');
+1 -1
View File
@@ -946,7 +946,7 @@ class Pages
$this->grav['debugger']->addMessage('Page cache missed, rebuilding pages..'); $this->grav['debugger']->addMessage('Page cache missed, rebuilding pages..');
// recurse pages and cache result // recurse pages and cache result
$this->resetPages($pages_dir, $this->pages_cache_id); $this->resetPages($pages_dir);
} else { } else {
// If pages was found in cache, set the taxonomy // If pages was found in cache, set the taxonomy
+4
View File
@@ -306,6 +306,10 @@ class User extends Data
$this->gettersVariable = 'items'; $this->gettersVariable = 'items';
$this->nestedSeparator = '.'; $this->nestedSeparator = '.';
if (null === $this->items) {
$this->items = [];
}
if (null === $this->blueprints) { if (null === $this->blueprints) {
$blueprints = new Blueprints; $blueprints = new Blueprints;
$this->blueprints = $blueprints->get('user/account'); $this->blueprints = $blueprints->get('user/account');