WordPress.org

Make WordPress Core

Changeset 25799


Ignore:
Timestamp:
10/15/13 21:24:01 (4 years ago)
Author:
nacin
Message:

Remove accidental debug cruft in [25780]. see #22704.

File:
1 edited

Legend:

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

    r25793 r25799  
    745745    // Create those directories if need be: 
    746746    foreach ( $needed_dirs as $_dir ) { 
    747         // if ( ! $wp_filesystem->mkdir($_dir, FS_CHMOD_DIR) && ! $wp_filesystem->is_dir($_dir) ) // Only check to see if the dir exists upon creation failure. Less I/O this way. 
     747        // Only check to see if the dir exists upon creation failure. Less I/O this way. 
     748        if ( ! $wp_filesystem->mkdir( $_dir, FS_CHMOD_DIR ) && ! $wp_filesystem->is_dir( $_dir ) ) 
    748749            return new WP_Error( 'mkdir_failed_pclzip', __( 'Could not create directory.' ), substr( $_dir, strlen( $to ) ) ); 
    749750    } 
Note: See TracChangeset for help on using the changeset viewer.