Ticket #36184: functions.php.2.patch
File functions.php.2.patch, 568 bytes (added by , 7 years ago) |
---|
-
wp-includes/functions.php
1618 1618 1619 1619 // We need to find the permissions of the parent folder that exists and inherit that. 1620 1620 $target_parent = dirname( $target ); 1621 while ( '.' != $target_parent && ! is_dir( $target_parent ) ) {1621 while ( '.' != $target_parent && ! is_dir( $target_parent ) && @is_readable( $target_parent ) ) { 1622 1622 $target_parent = dirname( $target_parent ); 1623 1623 } 1624 1624