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.php

    r9719 r10050  
    469469        return new WP_Error('copy_failed', __('Could not copy files'));
    470470    }
    471     $wp_filesystem->chmod($wp_dir . 'wp-admin/includes/update-core.php', 0644);
     471    $wp_filesystem->chmod($wp_dir . 'wp-admin/includes/update-core.php', FS_CHMOD_FILE);
    472472
    473473    require(ABSPATH . 'wp-admin/includes/update-core.php');
Note: See TracChangeset for help on using the changeset viewer.