Ticket #48289: 48289.diff
File 48289.diff, 872 bytes (added by , 5 years ago) |
---|
-
src/wp-includes/functions.php
diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index 979536f751..72fb8ac5f7 100644
a b function path_is_absolute( $path ) { 1988 1988 } 1989 1989 1990 1990 // Windows allows absolute paths like this. 1991 if ( preg_match( '#^[a-zA-Z]: \\\\#', $path ) ) {1991 if ( preg_match( '#^[a-zA-Z]:(/|\\\\)#', $path ) ) { 1992 1992 return true; 1993 1993 } 1994 1994