Changeset 46492 for branches/5.0/src/wp-includes/functions.php
- Timestamp:
- 10/14/2019 06:26:01 PM (6 years ago)
- Location:
- branches/5.0
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0
- Property svn:mergeinfo changed
/trunk merged: 46474-46478,46483,46485
- Property svn:mergeinfo changed
-
branches/5.0/src/wp-includes/functions.php
r44443 r46492 1621 1621 if ( file_exists( $target ) ) 1622 1622 return @is_dir( $target ); 1623 1624 // Do not allow path traversals. 1625 if ( false !== strpos( $target, '../' ) || false !== strpos( $target, '..' . DIRECTORY_SEPARATOR ) ) { 1626 return false; 1627 } 1623 1628 1624 1629 // 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.