Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kcristiano authored Sep 16, 2021
1 parent a109785 commit 4ac17c6
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions wp-multi-network/includes/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -607,15 +607,6 @@ function add_network( $args = array() ) {
}
$upload_dir .= '/uploads';

if ( defined( 'MULTISITE' ) ) {
$ms_dir = '/sites/' . $new_blog_id;
} else {
$ms_dir = '/' . $new_blog_id;
}

$upload_dir .= $ms_dir;
$upload_url .= $ms_dir;

update_blog_option( $new_blog_id, 'upload_path', $upload_dir );
update_blog_option( $new_blog_id, 'upload_url_path', $upload_url );
}
Expand Down

0 comments on commit 4ac17c6

Please sign in to comment.