WordPress.org

Make WordPress Core

Changeset 7159


Ignore:
Timestamp:
03/05/08 05:53:56 (6 years ago)
Author:
ryan
Message:

Use wp_mkdir_p() to create js cache dir. Props DD32. see #6097

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/tinymce/tiny_mce_config.php

    r7147 r7159  
    156156$cache_path = ABSPATH . 'wp-content/uploads/js_cache';  
    157157if ( $disk_cache && ! is_dir($cache_path) ) 
    158     $disk_cache = mkdir($cache_path); 
     158    $disk_cache = wp_mkdir_p($cache_path); 
    159159 
    160160$cache_ext = '.js'; 
Note: See TracChangeset for help on using the changeset viewer.