Skip to content

Commit

Permalink
Fixed issue with MuLoader on installing
Browse files Browse the repository at this point in the history
  • Loading branch information
gmazzap committed Mar 18, 2015
1 parent bab03d4 commit dc46462
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/MuLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ class MuLoader
*/
public function __invoke($refresh = false)
{
if (! is_dir(WPMU_PLUGIN_DIR)) {
if (
! defined('WPMU_PLUGIN_DIR')
|| ! is_dir(WPMU_PLUGIN_DIR)
|| defined('WP_INSTALLING')
) {
return;
}
static $jsonFiles;
Expand Down

0 comments on commit dc46462

Please sign in to comment.