Changeset 47005
- Timestamp:
- 12/22/2019 02:43:30 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/misc.php
r46662 r47005 112 112 return false; 113 113 } 114 114 115 if ( ! touch( $filename ) ) { 115 116 return false; 117 } 118 119 // Make sure the file is created with a minimum set of permissions. 120 $perms = fileperms( $filename ); 121 if ( $perms ) { 122 chmod( $filename, $perms | 0644 ); 116 123 } 117 124 } elseif ( ! is_writeable( $filename ) ) {
Note: See TracChangeset
for help on using the changeset viewer.