Ticket #17754: 17754.diff
| File 17754.diff, 414 bytes (added by coffee2code, 2 years ago) |
|---|
-
wp-includes/functions.php
2129 2129 return true; 2130 2130 2131 2131 // a path starting with / or \ is absolute; anything else is relative 2132 return ( bool) preg_match('#^[/\\\\]#', $path);2132 return ( $path{0} == '/' || $path{0} == '\\' ); 2133 2133 } 2134 2134 2135 2135 /**
