From 91dd6face1300369fcd6760a3b80645df60a7da0 Mon Sep 17 00:00:00 2001 From: Ryan Boren 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: https://develop.svn.wordpress.org/trunk@7159 602fd350-edb4-49c9-b593-d223f7449a82 --- 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';