Changeset 46496 for branches/4.6/src/wp-includes/functions.php
- Timestamp:
- 10/14/2019 07:01:10 PM (7 years ago)
- Location:
- branches/4.6
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.6
- Property svn:mergeinfo changed
/trunk merged: 46474-46478,46483,46485
- Property svn:mergeinfo changed
-
branches/4.6/src/wp-includes/functions.php
r43992 r46496 1611 1611 if ( file_exists( $target ) ) 1612 1612 return @is_dir( $target ); 1613 1614 // Do not allow path traversals. 1615 if ( false !== strpos( $target, '../' ) || false !== strpos( $target, '..' . DIRECTORY_SEPARATOR ) ) { 1616 return false; 1617 } 1613 1618 1614 1619 // 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.