diff --git a/wp-includes/js/tinymce/tiny_mce_config.php b/wp-includes/js/tinymce/tiny_mce_config.php index 98878e3b01..f152307aac 100644 --- a/wp-includes/js/tinymce/tiny_mce_config.php +++ b/wp-includes/js/tinymce/tiny_mce_config.php @@ -155,7 +155,7 @@ if ( $isIE5 ) $compress = false; // Cache path, this is where the .gz files will be stored $cache_path = ABSPATH . 'wp-content/uploads/js_cache'; if ( $disk_cache && ! is_dir($cache_path) ) - $disk_cache = mkdir($cache_path); + $disk_cache = wp_mkdir_p($cache_path); $cache_ext = '.js';