Ticket #36184: functions.php.patch
File functions.php.patch, 568 bytes (added by , 7 years ago) |
---|
-
wp-includes/functions.php
1604 1604 1605 1605 // We need to find the permissions of the parent folder that exists and inherit that. 1606 1606 $target_parent = dirname( $target ); 1607 while ( '.' != $target_parent && ! is_dir( $target_parent ) ) {1607 while ( '.' != $target_parent && ! is_dir( $target_parent ) && @is_readable( $target_parent ) ) { 1608 1608 $target_parent = dirname( $target_parent ); 1609 1609 } 1610 1610