From 71d63f9b3ea690544d5487d899a6619faa55889a Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 5 Mar 2008 05:53:56 +0000 Subject: [PATCH] Use wp_mkdir_p() to create js cache dir. Props DD32. see #6097 git-svn-id: http://svn.automattic.com/wordpress/trunk@7159 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/js/tinymce/tiny_mce_config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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';