Skip to content

Commit e1fcd9b

Browse files
committed
Fixed error message during install due to missing database tables
1 parent fa7c18a commit e1fcd9b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

mu-loader.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
function mu_loader_plugins_files()
44
{
5+
6+
if (defined('WP_INSTALLING') && WP_INSTALLING === true) {
7+
// Do nothing during installation
8+
return array();
9+
}
10+
511
// Cache plugins
612
$plugins = get_site_transient('mu_loader_plugins');
713

0 commit comments

Comments
 (0)