Ticket #2190: suid.diff
| File suid.diff, 513 bytes (added by ryan, 6 years ago) |
|---|
-
functions-post.php
846 846 847 847 // Give the new dirs the same perms as wp-content. 848 848 $stat = stat(ABSPATH . 'wp-content'); 849 $dir_perms = $stat['mode'] & 000 0777; // Get the permission bits.849 $dir_perms = $stat['mode'] & 0007777; // Get the permission bits. 850 850 851 851 // Make sure we have an uploads dir 852 852 if ( ! file_exists( $path ) ) {
