I’ve also noticed that the $cache_path
line in the code below (in wp-cache-config.php
) gets replaced with the value of $cache_path
when the plugin settings are saved:
if ( '/' != substr($cache_path, -1)) {
$cache_path .= '/';
}
I think this is because the wp_cache_replace_line
function is searching and replacing all occurrences of $cache_path
.