Skip to content

Commit

Permalink
fix: subsite config
Browse files Browse the repository at this point in the history
  • Loading branch information
HitkoDev committed Jun 14, 2021
1 parent cbcfed2 commit 2cba7a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions inc/cache/config-cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -331,13 +331,13 @@ public static function write_config($config, $create_root_config = false) {

$config_file = $config_dir . DIRECTORY_SEPARATOR . $filename . '.php';

/*if (is_multisite() && !is_network_admin() && breeze_does_inherit_settings()) {
if (is_multisite() && !is_network_admin() && breeze_does_inherit_settings()) {
// Site inherits network-level setting, do not create separate configuration file and remove existing configuration file.
if ($wp_filesystem->exists($config_file)) {
if ($create_root_config === false && $wp_filesystem->exists($config_file)) {
$wp_filesystem->delete($config_file, true);
}
return;
}*/
}

$wp_filesystem->mkdir($config_dir);

Expand Down

0 comments on commit 2cba7a6

Please sign in to comment.