From dca08b0a56b1007116286cd924cd1962d82f67c6 Mon Sep 17 00:00:00 2001 From: Chris Reynolds Date: Mon, 29 Apr 2024 14:37:01 -0600 Subject: [PATCH] remove unused $hostname var --- inc/network/includes-network.php | 1 - 1 file changed, 1 deletion(-) diff --git a/inc/network/includes-network.php b/inc/network/includes-network.php index 7ca4cf6..3eae18c 100644 --- a/inc/network/includes-network.php +++ b/inc/network/includes-network.php @@ -360,7 +360,6 @@ function network_step1( $errors = false ) { function network_step2( $errors = false ) { global $wpdb, $is_nginx; - $hostname = get_clean_basedomain(); $slashed_home = trailingslashit( get_option( 'home' ) ); $base = parse_url( $slashed_home, PHP_URL_PATH ); $document_root_fix = str_replace( '\\', '/', realpath( $_SERVER['DOCUMENT_ROOT'] ) );