• I’ve noticed the custom Cache Location I set is reverting back to the default content/cache setting when updating plugin settings under the “Advanced” tab.

    Based on my tests, it seems like it’s possible to set the custom Cache Location once, but upon subsequent saves it reverts back to the default.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter daleharrison

    (@daleharrison)

    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.

    I am running into the same issue — the cache location reverting back to the default folder instead of the custom folder whenever I try to update the settings.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cache Location Always Reverts to Default’ is closed to new replies.