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
This commit is contained in:
Ryan Boren 2008-03-05 05:53:56 +00:00
parent 2290c2ab2c
commit 91dd6face1

View File

@ -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';