diff --git a/CHANGELOG.md b/CHANGELOG.md index de9ab469..57495318 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# v1.5.0-rc.4 +## 06/xx/2017 + +1. [](#bugfix) + * Fix for bad referenced to `shouldLoadAdditionalFilesInBackground()` [#1145](https://github.com/getgrav/grav-plugin-admin/pull/1145) + # v1.5.0-rc.3 ## 06/22/2017 diff --git a/admin.php b/admin.php index 1dd8969f..60634e8b 100644 --- a/admin.php +++ b/admin.php @@ -525,8 +525,8 @@ class AdminPlugin extends Plugin { if ($this->active) { //only activate when Admin is active - if ($this->shouldLoadAdditionalFilesInBackground()) { - $this->loadAdditionalFilesInBackground(); + if ($this->admin->shouldLoadAdditionalFilesInBackground()) { + $this->admin->loadAdditionalFilesInBackground(); } } else { //if popularity is enabled, track non-admin hits