majgetgrav
This commit is contained in:
+8
-1
@@ -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
|
||||
## 01/25/2018
|
||||
## 01/25/2019
|
||||
|
||||
1. [](#new)
|
||||
* Support for AWS Cloudfront forwarded scheme header [#2297](https://github.com/getgrav/grav/pull/2297)
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
|
||||
// Some standard defines
|
||||
define('GRAV', true);
|
||||
define('GRAV_VERSION', '1.5.7');
|
||||
define('GRAV_VERSION', '1.5.8');
|
||||
define('GRAV_TESTING', false);
|
||||
define('DS', '/');
|
||||
|
||||
|
||||
@@ -946,7 +946,7 @@ class Pages
|
||||
$this->grav['debugger']->addMessage('Page cache missed, rebuilding pages..');
|
||||
|
||||
// recurse pages and cache result
|
||||
$this->resetPages($pages_dir, $this->pages_cache_id);
|
||||
$this->resetPages($pages_dir);
|
||||
|
||||
} else {
|
||||
// If pages was found in cache, set the taxonomy
|
||||
|
||||
@@ -306,6 +306,10 @@ class User extends Data
|
||||
$this->gettersVariable = 'items';
|
||||
$this->nestedSeparator = '.';
|
||||
|
||||
if (null === $this->items) {
|
||||
$this->items = [];
|
||||
}
|
||||
|
||||
if (null === $this->blueprints) {
|
||||
$blueprints = new Blueprints;
|
||||
$this->blueprints = $blueprints->get('user/account');
|
||||
|
||||
Reference in New Issue
Block a user