diff --git a/wp-admin/includes/class-pclzip.php b/wp-admin/includes/class-pclzip.php index 658fda5f22..f1128d900c 100644 --- a/wp-admin/includes/class-pclzip.php +++ b/wp-admin/includes/class-pclzip.php @@ -5714,7 +5714,7 @@ // -------------------------------------------------------------------------------- function PclZipUtilTranslateWinPath($p_path, $p_remove_disk_letter=true) { - if (stristr(php_uname(), 'windows')) { + if (PHP_OS_FAMILY == 'Windows') { // ----- Look for potential disk letter if (($p_remove_disk_letter) && (($v_position = strpos($p_path, ':')) != false)) { $p_path = substr($p_path, $v_position+1); diff --git a/wp-includes/version.php b/wp-includes/version.php index 4d1c867e58..6690683917 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-alpha-59505'; +$wp_version = '6.8-alpha-59506'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.