Skip to content

Commit

Permalink
Fix issue when bedrock_autoloader option is set but the mu-plugin cou…
Browse files Browse the repository at this point in the history
…nt differs from installed plugins
  • Loading branch information
slackday committed Oct 5, 2018
1 parent 9656d4e commit 06cf803
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 06cf803

Please sign in to comment.