diff --git a/wp-includes/load.php b/wp-includes/load.php index d2e7f47c4f..60ce480656 100644 --- a/wp-includes/load.php +++ b/wp-includes/load.php @@ -76,7 +76,7 @@ function wp_fix_server_vars() { } // Fix for Dreamhost and other PHP as CGI hosts. - if ( strpos( $_SERVER['SCRIPT_NAME'], 'php.cgi' ) !== false ) { + if ( isset( $_SERVER['SCRIPT_NAME'] ) && ( strpos( $_SERVER['SCRIPT_NAME'], 'php.cgi' ) !== false ) ) { unset( $_SERVER['PATH_INFO'] ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index cf7785edb7..b8cc827424 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-52143'; +$wp_version = '5.9-alpha-52144'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.