WordPress.org

Make WordPress Core

Ticket #6097: 6097.2.diff

File 6097.2.diff, 531 bytes (added by DD32, 10 years ago)
  • wp-includes/js/tinymce/tiny_mce_config.php

     
    155155// Cache path, this is where the .gz files will be stored
    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';
    161161