pantheon-systems / wp-redis

WordPress Object Cache using Redis.
https://wordpress.org/plugins/wp-redis/
GNU General Public License v2.0
225 stars 67 forks source link

[BUGS-6248] Only flush local cache #412

Closed spacedmonkey closed 1 year ago

spacedmonkey commented 1 year ago

Introduced in https://github.com/pantheon-systems/wp-redis/pull/405.

wp_cache_flush_runtime should not clear redis cache as well, just local runtime cache values. By passing false to flush method, only runtime caches are flushed.

spacedmonkey commented 1 year ago

Can you take a look at this - @jspellman814 @pwtyler

pwtyler commented 1 year ago

Good catch @spacedmonkey!

@jspellman814, lets maybe look at this alongside #410 tomorrow.

Tracking internally as BUGS-6248.

pwtyler commented 1 year ago

Closing in favor of #413 in order to get get tests and README in place.