mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-01-29 21:17:39 +00:00
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:
parent
2290c2ab2c
commit
91dd6face1
@ -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';
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user