WordPress.org

Make WordPress Core

Changeset 3501


Ignore:
Timestamp:
01/30/2006 10:03:06 PM (15 years ago)
Author:
ryan
Message:

Remove execute bit from uploaded files. #2190

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-functions.php

    r3497 r3501  
    17671767    // Set correct file permissions
    17681768    $stat = stat(dirname($new_file));
    1769     $perms = $stat['mode'] & 0000777;
     1769    $perms = $stat['mode'] & 0000666;
    17701770    @ chmod($new_file, $perms);
    17711771
Note: See TracChangeset for help on using the changeset viewer.