Ticket #48289: 48289.1.diff
File 48289.1.diff, 447 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..e67ca38925 100644
a b function path_is_absolute( $path ) { 1987 1987 return false; 1988 1988 } 1989 1989 1990 // W indows allows absolute paths like this.1991 if ( preg_match( '#^[a-zA-Z]:\\\\#', $path )) {1990 // We are on Windows. 1991 if ( '/' !== DIRECTORY_SEPARATOR ) { 1992 1992 return true; 1993 1993 } 1994 1994