Changeset 3388 for trunk/wp-includes/functions-post.php
- Timestamp:
- 01/02/2006 02:50:59 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/functions-post.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions-post.php
r3386 r3388 863 863 // Give the new dirs the same perms as wp-content. 864 864 $stat = stat(ABSPATH . 'wp-content'); 865 $dir_perms = $stat['mode'] & 000 0777; // Get the permission bits.865 $dir_perms = $stat['mode'] & 0007777; // Get the permission bits. 866 866 867 867 // Make sure we have an uploads dir … … 930 930 // Set correct file permissions 931 931 $stat = @ stat(dirname($new_file)); 932 $perms = $stat['mode'] & 0000777; 932 $perms = $stat['mode'] & 0007777; 933 $perms = $perms & 0000666; 933 934 @ chmod($new_file, $perms); 934 935
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)