Skip to content

Commit

Permalink
Merge pull request roots#214 from bendoh/remove-get-mu-plugins-arg
Browse files Browse the repository at this point in the history
In the autoloader, remove argument from call to get_mu_plugins()
  • Loading branch information
swalkinshaw committed Oct 27, 2015
2 parents 0d832d8 + f5f5c6c commit 5d0d90c
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 @@ -95,7 +95,7 @@ private function updateCache() {
require_once(ABSPATH . 'wp-admin/includes/plugin.php');

self::$auto_plugins = get_plugins(self::$relative_path);
self::$mu_plugins = get_mu_plugins(self::$relative_path);
self::$mu_plugins = get_mu_plugins();
$plugins = array_diff_key(self::$auto_plugins, self::$mu_plugins);
$rebuild = !is_array(self::$cache['plugins']);
self::$activated = ($rebuild) ? $plugins : array_diff_key($plugins, self::$cache['plugins']);
Expand Down

0 comments on commit 5d0d90c

Please sign in to comment.