Changeset 18551
- Timestamp:
- 08/16/2011 12:21:56 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r18548 r18551 2126 2126 2127 2127 // a path starting with / or \ is absolute; anything else is relative 2128 return ( bool) preg_match('#^[/\\\\]#', $path);2128 return ( $path[0] == '/' || $path[0] == '\\' ); 2129 2129 } 2130 2130
Note: See TracChangeset
for help on using the changeset viewer.