Make WordPress Core


Ignore:
Timestamp:
12/04/2008 09:58:46 PM (16 years ago)
Author:
ryan
Message:

Allow override of default file permissions with FS_CHMOD_DIR and FS_CHMOD_FILE. Props DD32. see #8478

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/update-core.php

    r9985 r10050  
    228228    $maintenance_file = $to . '.maintenance';
    229229    $wp_filesystem->delete($maintenance_file);
    230     $wp_filesystem->put_contents($maintenance_file, $maintenance_string, 0644);
     230    $wp_filesystem->put_contents($maintenance_file, $maintenance_string, FS_CHMOD_FILE);
    231231
    232232    // Copy new versions of WP files into place.
Note: See TracChangeset for help on using the changeset viewer.