Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] wp redis disable #309

Open
michacassola opened this issue Dec 2, 2020 · 1 comment
Open

[Feature Request] wp redis disable #309

michacassola opened this issue Dec 2, 2020 · 1 comment

Comments

@michacassola
Copy link

I'd like to request a wp redis disable command for WP-CLI please, removing the symlink.

@danielbachhuber
Copy link
Contributor

Sure! Want to put together a pull request for it?

I think it should:

  1. Bail early if if ( ! defined( 'WP_REDIS_OBJECT_CACHE' ) ) { because we should only modify the symlink if it's loading WP Redis.
  2. Show a success message if it's able to remove the symlink, and an error message if there's some failure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants