pantheon-systems / wp-redis

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

fix broken `wp_cache_supports()` #381

Closed tillkruss closed 1 year ago

tillkruss commented 1 year ago

Follow-up to #378, which was not checked whatsoever.

Telling API consumers that group flushing, or runtime flushing is supported, but isn't may cause havoc.

As for the *_multiple methods, they aren't implemented in this drop-in.

jspellman814 commented 1 year ago

Thanks @tillkruss! I'm good with this PR, but could you please make it against the develop branch as per CONTRIBUTING.md. Once that's done, we can publish a release with these changes.

jspellman814 commented 1 year ago

I created #382 as per my comment above. We will move forward with that PR and create a release today including this fix. Thanks again!