Changeset 46497 for branches/4.5/src/wp-includes/functions.php
- Timestamp:
- 10/14/2019 07:06:04 PM (7 years ago)
- Location:
- branches/4.5
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.5
- Property svn:mergeinfo changed
/trunk merged: 46474-46478,46483,46485
- Property svn:mergeinfo changed
-
branches/4.5/src/wp-includes/functions.php
r43993 r46497 1602 1602 if ( file_exists( $target ) ) 1603 1603 return @is_dir( $target ); 1604 1605 // Do not allow path traversals. 1606 if ( false !== strpos( $target, '../' ) || false !== strpos( $target, '..' . DIRECTORY_SEPARATOR ) ) { 1607 return false; 1608 } 1604 1609 1605 1610 // We need to find the permissions of the parent folder that exists and inherit that.
Note: See TracChangeset
for help on using the changeset viewer.