Skip to content

Commit

Permalink
remove unused $hostname var
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzsequence committed Apr 29, 2024
1 parent 869929f commit dca08b0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion inc/network/includes-network.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'] ) );
Expand Down

0 comments on commit dca08b0

Please sign in to comment.