Skip to content

Commit

Permalink
Merge pull request #386 from slackday/bedrock-autoloader
Browse files Browse the repository at this point in the history
Fix issue with bedrock_autoloader option
  • Loading branch information
swalkinshaw committed Mar 21, 2019
2 parents 6015eb4 + 06cf803 commit 31eea38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/app/mu-plugins/bedrock-autoloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ private function checkCache()
{
$cache = get_site_option('bedrock_autoloader');

if ($cache === false) {
if ($cache === false || (isset($cache['plugins'], $cache['count']) && count($cache['plugins']) !== $cache['count'])) {
$this->updateCache();
return;
}
Expand Down

0 comments on commit 31eea38

Please sign in to comment.