OllieJones / sqlite-object-cache

A WordPress persistent object cache for the rest of us.
GNU General Public License v2.0
24 stars 4 forks source link

wp_cache_flush_runtime is not right #23

Closed spacedmonkey closed 1 year ago

spacedmonkey commented 1 year ago

wp_cache_flush_runtime does a real cache clear and not a in memory.

This function should just look like this.

function flush_runtime(){
      $this->cache = array();
      return true. 
}

This should just clear the locally memory.

OllieJones commented 1 year ago

Fix is out now. 1.2.1