Make WordPress Core


Ignore:
Timestamp:
11/05/2008 05:35:58 PM (16 years ago)
Author:
ryan
Message:

Set perms when making plugin dirs. see #7395

File:
1 edited

Legend:

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

    r9523 r9524  
    255255    //Create folder if not exists.
    256256    if( ! $wp_filesystem->exists( $res['to'] ) )
    257         if ( ! $wp_filesystem->mkdir( $res['to'] ) )
     257        if ( ! $wp_filesystem->mkdir( $res['to'], 0755 ) )
    258258            return new WP_Error('mkdir_failed', __('Could not create directory'), $res['to']); 
    259259
Note: See TracChangeset for help on using the changeset viewer.