Permalink
Browse files

Merge pull request #72 from stuarteske/master

Admin error message fix 'Autoptimize cannot write to the cache direct… Thanks @stuarteske
  • Loading branch information...
2 parents da5b2c8 + 41bc7e3 commit 7464352f4739f3f6a4855839c90aea5bc381658c @futtta committed on GitHub Nov 30, 2016
Showing with 6 additions and 1 deletion.
  1. +6 −1 autoptimize.php
View
@@ -112,7 +112,12 @@ function autoptimize_update_config_notice() {
function autoptimize_cache_unavailable_notice() {
echo '<div class="error"><p>';
- _e('Autoptimize cannot write to the cache directory (default: /wp-content/cache/autoptimize), please fix to enable CSS/ JS optimization!', 'autoptimize' );
+ _e(
+ 'Autoptimize cannot write to the cache directory ('
+ . AUTOPTIMIZE_CACHE_DIR
+ . '), please fix to enable CSS/ JS optimization!',
+ 'autoptimize'
+ );
echo '</p></div>';
}

0 comments on commit 7464352

Please sign in to comment.